diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-09-25 14:31:40 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-09-25 14:33:11 -0700 |
commit | 129c67d68ee2db4aa3a45ab6970e7d26348ce5ef (patch) | |
tree | 46312bd9907ec43087d27225dbd7aa005a8a6811 /runsc/sandbox/sandbox.go | |
parent | 59ccbb10446063f5347fb026e35549bc2f677971 (diff) |
Fix runsc log collection in kokoro
PiperOrigin-RevId: 271207152
Diffstat (limited to 'runsc/sandbox/sandbox.go')
-rw-r--r-- | runsc/sandbox/sandbox.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go index 4c6c83fbd..ee9327fc8 100644 --- a/runsc/sandbox/sandbox.go +++ b/runsc/sandbox/sandbox.go @@ -352,7 +352,7 @@ func (s *Sandbox) createSandboxProcess(conf *boot.Config, args *Args, startSyncF } if conf.DebugLog != "" { test := "" - if len(conf.TestOnlyTestNameEnv) == 0 { + if len(conf.TestOnlyTestNameEnv) != 0 { // Fetch test name if one is provided and the test only flag was set. if t, ok := specutils.EnvVar(args.Spec.Process.Env, conf.TestOnlyTestNameEnv); ok { test = t |