The first letter should be small in errors.New
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
This commit is contained in:
parent
fbcf0a50b2
commit
e7935da239
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ func validateArgs(args ...string) error {
|
||||||
foundBusybox = key
|
foundBusybox = key
|
||||||
}
|
}
|
||||||
if (foundBusybox != -1) && (key == foundBusybox+1) && (strings.ToLower(value) == "top") {
|
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
|
return nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue