blob: 82ec58e9e77e4d1592e981178580fa3cacd86393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package main
// sleepCommandForDaemonPlatform is a helper function that determines what
// the command is for a sleeping container based on the daemon platform.
// The Windows busybox image does not have a `top` command.
func sleepCommandForDaemonPlatform() []string {
if testEnv.OSType == "windows" {
return []string{"sleep", "240"}
}
return []string{"top"}
}
|