Skip to content

Commit

Permalink
Fixed formatted message value.
Browse files Browse the repository at this point in the history
Use the return value instead of the function value.
  • Loading branch information
mitchell-as committed Jan 4, 2024
1 parent 91f0fd8 commit e923d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/runtime/artifactcache/artifactcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (cache *ArtifactCache) Save() error {
}

if cache.timeSpentCopying > 5*time.Second {
multilog.Log(logging.Debug, rollbar.Error)("Spent %.1f seconds copying %.1fMB of artifacts to cache", cache.timeSpentCopying.Seconds, float64(cache.sizeCopied)/float64(MB))
multilog.Log(logging.Debug, rollbar.Error)("Spent %.1f seconds copying %.1fMB of artifacts to cache", cache.timeSpentCopying.Seconds(), float64(cache.sizeCopied)/float64(MB))
}
cache.timeSpentCopying = 0 // reset
cache.sizeCopied = 0 //reset
Expand Down

0 comments on commit e923d0c

Please sign in to comment.