Skip to content

Commit

Permalink
Reuse the same password retriever created when initializing the Service
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Feb 5, 2020
1 parent 80be5e8 commit 18382ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/notary/service.go
Expand Up @@ -215,7 +215,7 @@ func (s *Service) ListDelegates(ctx context.Context, target *Key) (map[string][]
gun,
s.config.RemoteServer.URL,
rt,
getPassphraseRetriever(),
s.retriever,
trustpinning.TrustPinConfig{})

if err != nil {
Expand Down

0 comments on commit 18382ac

Please sign in to comment.