local actions done

This commit is contained in:
Casey Lee
2020-02-23 16:36:44 -08:00
parent ac1bd0893e
commit 94591c58d7
4 changed files with 105 additions and 113 deletions

View File

@@ -70,7 +70,7 @@ func (cr *containerReference) Create() common.Executor {
}
func (cr *containerReference) Start(attach bool) common.Executor {
return common.
NewDebugExecutor("%sdocker run image=%s entrypoint=%+q cmd=%+q", logPrefix, cr.input.Image, cr.input.Entrypoint, cr.input.Cmd).
NewInfoExecutor("%sdocker run image=%s entrypoint=%+q cmd=%+q", logPrefix, cr.input.Image, cr.input.Entrypoint, cr.input.Cmd).
Then(
common.NewPipelineExecutor(
cr.connect(),
@@ -173,9 +173,9 @@ func (cr *containerReference) remove() common.Executor {
if err != nil {
return errors.WithStack(err)
}
cr.id = ""
logger.Debugf("Removed container: %v", cr.id)
cr.id = ""
return nil
}
}