mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
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