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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user