Skip to content

Commit

Permalink
cache(gha): fix missing user-agent for importer
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max authored and jsternberg committed Feb 19, 2025
1 parent c016cda commit c7153d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cache/remotecache/gha/gha.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,9 @@ type importer struct {

func NewImporter(c *Config) (remotecache.Importer, error) {
cache, err := actionscache.New(c.Token, c.URL, c.Version > 1, actionscache.Opt{
Client: tracing.DefaultClient,
Timeout: c.Timeout,
Client: tracing.DefaultClient,
Timeout: c.Timeout,
UserAgent: bkversion.UserAgent(),
})
if err != nil {
return nil, err
Expand Down

0 comments on commit c7153d1

Please sign in to comment.