mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
windows does not support sleep infinity
This commit is contained in:
parent
50927130ff
commit
627bfbdfdf
@ -43,7 +43,7 @@ const InfiniteSleepCommand = "trap exit TERM; while true; do sleep 1; done"
|
||||
//
|
||||
// This is useful for testing scenarios where the container is terminated
|
||||
// with a non-zero exit code.
|
||||
const InfiniteSleepCommandWithoutGracefulShutdown = "sleep infinity"
|
||||
const InfiniteSleepCommandWithoutGracefulShutdown = "while true; do sleep 1; done"
|
||||
|
||||
// GenerateScriptCmd generates the corresponding command lines to execute a command.
|
||||
func GenerateScriptCmd(command string) []string {
|
||||
|
Loading…
Reference in New Issue
Block a user