Skip to content

Commit 94d54b8

Browse files
authored
Add cosign/ to useragent for remote calls (#479)
Signed-off-by: Appu Goundan <[email protected]>
1 parent 5a426a5 commit 94d54b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/cosign/cli/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,6 @@ func DefaultRegistryClientOpts(ctx context.Context) []remote.Option {
9090
return []remote.Option{
9191
remote.WithAuthFromKeychain(authn.DefaultKeychain),
9292
remote.WithContext(ctx),
93+
remote.WithUserAgent("cosign/" + VersionInfo().GitVersion),
9394
}
9495
}

0 commit comments

Comments
 (0)