diff --git a/daemon/daemon_unix.go b/daemon/daemon_unix.go index 517c423807..3ef3ec1338 100644 --- a/daemon/daemon_unix.go +++ b/daemon/daemon_unix.go @@ -362,7 +362,7 @@ func verifyContainerResources(resources *containertypes.Resources, sysInfo *sysi } if resources.CPUPercent > 0 { warnings = append(warnings, "%s does not support CPU percent. Percent discarded.", runtime.GOOS) - logrus.Warn("%s does not support CPU percent. Percent discarded.", runtime.GOOS) + logrus.Warnf("%s does not support CPU percent. Percent discarded.", runtime.GOOS) resources.CPUPercent = 0 } diff --git a/integration-cli/events_utils.go b/integration-cli/events_utils.go index 8aa139c03f..d0863154b6 100644 --- a/integration-cli/events_utils.go +++ b/integration-cli/events_utils.go @@ -89,7 +89,7 @@ func (e *eventObserver) Match(match eventMatcher, process eventMatchProcessor) { err = io.EOF } - logrus.Debug("EventObserver scanner loop finished: %v", err) + logrus.Debugf("EventObserver scanner loop finished: %v", err) e.disconnectionError = err }