Skip to content

Commit

Permalink
fix: init cache
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed Apr 30, 2024
1 parent 9bafb55 commit 8617fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/template/onepassword.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func onePassword(ctx context.Context, templateVars interface{}, errorOnMissing b
return func(account, vaultUUID, itemUUID, field string) (string, error) {
// validate command
if isConnect() || isServiceAccount() {
// do nothing
onePasswordCache = map[string]map[string]string{}
} else if err := init(account); err != nil {
return "", err
}
Expand Down

0 comments on commit 8617fba

Please sign in to comment.