mirror of
https://github.com/docker/cli.git
synced 2026-01-19 21:41:31 +03:00
Hack: set NONUKE environment variable to run the tests without cleanup, to investigate temp directories
Upstream-commit: ec6fe9f2007a0400a441b79c89bced5727589ba9 Component: engine
This commit is contained in:
@@ -36,6 +36,9 @@ var (
|
||||
)
|
||||
|
||||
func nuke(runtime *Runtime) error {
|
||||
if nonuke := os.Getenv("NONUKE"); nonuke != "" {
|
||||
return nil
|
||||
}
|
||||
var wg sync.WaitGroup
|
||||
for _, container := range runtime.List() {
|
||||
wg.Add(1)
|
||||
|
||||
Reference in New Issue
Block a user