From 05ad484bd67b2a9289aae8f63253e4c668903fc4 Mon Sep 17 00:00:00 2001 From: Volodymyr Zotov Date: Fri, 22 Aug 2025 10:25:45 -0500 Subject: [PATCH] Fix lint error --- pkg/testhelper/op/op.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/testhelper/op/op.go b/pkg/testhelper/op/op.go index 3f5f997..94a8b8f 100644 --- a/pkg/testhelper/op/op.go +++ b/pkg/testhelper/op/op.go @@ -1,7 +1,6 @@ package op import ( - "fmt" "github.com/1Password/onepassword-operator/pkg/testhelper/system" ) @@ -13,12 +12,3 @@ func UpdateItemPassword(item string) error { } return nil } - -// ReadItemPassword reads the password of an item in 1Password -func ReadItemPassword(item, vault string) (string, error) { - output, err := system.Run("op", "read", fmt.Sprintf("op://%s/%s/password", vault, item)) - if err != nil { - return "", err - } - return output, nil -}