We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e3bfd5 commit a5b5bdbCopy full SHA for a5b5bdb
api/client/trust.go
@@ -252,7 +252,7 @@ func (cli *DockerCli) trustedReference(ref reference.NamedTagged) (reference.Can
252
// Resolve the Auth config relevant for this server
253
authConfig := cli.resolveAuthConfig(repoInfo.Index)
254
255
- notaryRepo, err := cli.getNotaryRepository(repoInfo, authConfig)
+ notaryRepo, err := cli.getNotaryRepository(repoInfo, authConfig, "pull")
256
if err != nil {
257
fmt.Fprintf(cli.out, "Error establishing connection to trust repository: %s\n", err)
258
return nil, err
0 commit comments