Skip to content

Commit

Permalink
Add cosign/ to useragent for remote calls (#479)
Browse files Browse the repository at this point in the history
Signed-off-by: Appu Goundan <appu@google.com>
  • Loading branch information
loosebazooka committed Jul 26, 2021
1 parent 5a426a5 commit 94d54b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cosign/cli/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ func DefaultRegistryClientOpts(ctx context.Context) []remote.Option {
return []remote.Option{
remote.WithAuthFromKeychain(authn.DefaultKeychain),
remote.WithContext(ctx),
remote.WithUserAgent("cosign/" + VersionInfo().GitVersion),
}
}

0 comments on commit 94d54b8

Please sign in to comment.