Skip to content

Commit

Permalink
fix(cr-login): fix UserAgent
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
  • Loading branch information
alexey-igrychev committed Jan 15, 2025
1 parent 378507e commit 99fd230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/werf/cr/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func Login(ctx context.Context, registry string, opts LoginOptions) error {
settings.Username = opts.Username
settings.Secret = password
settings.Insecure = opts.InsecureRegistry
settings.UserAgent = fmt.Sprintf("werf %s", werf.Version)
settings.UserAgent = werf.UserAgent
}); err != nil {
return fmt.Errorf("unable to login into %q: %w", registry, err)
}
Expand Down

0 comments on commit 99fd230

Please sign in to comment.