The first letter should be small in errors.New

Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
Upstream-commit: e7935da2390bf458f07e9898f08a332ef9f53255
Component: engine
This commit is contained in:
YuPengZTE
2016-09-01 11:22:35 +08:00
parent 033314a228
commit c484c505e6

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