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:
@ -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