Skip to content

Commit

Permalink
Fix formatting flag
Browse files Browse the repository at this point in the history
Before:

```
Not all pods have an IP, trying again in %!s(float64=5) seconds.
```

After:
```
Not all pods have an IP, trying again in 5 seconds.

```
  • Loading branch information
uthark authored and mogren committed Jul 6, 2019
1 parent 5de5b89 commit f25e37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipamd/ipamd.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (c *IPAMContext) getLocalPodsWithRetry() ([]*k8sapi.K8SPodInfo, error) {
if allPodsHaveAnIP {
break
}
log.Warnf("Not all pods have an IP, trying again in %s seconds.", retryK8SInterval.Seconds())
log.Warnf("Not all pods have an IP, trying again in %v seconds.", retryK8SInterval.Seconds())
}
log.Infof("Not able to get local pods yet (attempt %d/%d): %v", retry, maxK8SRetries, err)
time.Sleep(retryK8SInterval)
Expand Down

0 comments on commit f25e37f

Please sign in to comment.