Skip to content

Commit

Permalink
nochangelog: fix nil
Browse files Browse the repository at this point in the history
  • Loading branch information
n-g committed Nov 16, 2023
1 parent f35cbbf commit 0b7af54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/providers/onepassword/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ import (
const cmdTimeout = time.Minute

func Register() {
var p provider
p := provider{
cache: map[string][]byte{},
}

combined.RegisterSecretsProvider(func(ctx context.Context, cfg *onepassword.Secret) ([]byte, error) {
if cfg.SecretReference == "" {
Expand Down

0 comments on commit 0b7af54

Please sign in to comment.