add better unit test for combind logging

This commit is contained in:
zerodoctor
2023-10-07 19:32:06 -05:00
parent f86c07e596
commit 00087aa865
5 changed files with 143 additions and 18 deletions

View File

@@ -33,9 +33,9 @@ func toSpec(spec *Spec, step *Step) *specgen.SpecGenerator {
}
volume := specgen.ContainerStorageConfig{
Image: step.Image,
WorkDir: step.WorkingDir,
ShmSize: toPtr(step.ShmSize),
WorkDir: step.WorkingDir,
CreateWorkingDir: true,
ShmSize: toPtr(step.ShmSize),
}
volumeSet := toVolumeSet(spec, step)
@@ -109,7 +109,7 @@ func toSpec(spec *Spec, step *Step) *specgen.SpecGenerator {
ContainerResourceConfig: resource,
}
logrus.Debugf("creating [config=%+v]", config)
logrus.Tracef("creating [config=%+v]", config)
return config
}