Skip to content

Commit

Permalink
use %v
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Jul 16, 2020
1 parent 9515103 commit a33ea98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func retryCommand(retries int, interval time.Duration, logger *zap.Logger, comma
if err == nil {
return
}
logger.Warn(fmt.Sprintf("command was failed %d times, sleep %s before retrying command", i+1, interval.String()))
logger.Warn(fmt.Sprintf("command was failed %d times, sleep %v before retrying command", i+1, interval))
time.Sleep(interval)
}
return
Expand Down

0 comments on commit a33ea98

Please sign in to comment.