Merge pull request #26226 from YuPengZTE/devTest

The first letter should be small in errors.New
Upstream-commit: 8abaf62715fab8422f20a28af2ff848223898839
Component: engine
This commit is contained in:
Vincent Demeester
2016-09-01 17:28:32 +02:00
committed by GitHub

View File

@ -519,7 +519,7 @@ func validateArgs(args ...string) error {
foundBusybox = key
}
if (foundBusybox != -1) && (key == foundBusybox+1) && (strings.ToLower(value) == "top") {
return errors.New("Cannot use 'busybox top' in tests on Windows. Use runSleepingContainer()")
return errors.New("cannot use 'busybox top' in tests on Windows. Use runSleepingContainer()")
}
}
return nil