Skip to content

Commit

Permalink
Fix typo in container log
Browse files Browse the repository at this point in the history
The log prefix should be "stop" in DockerVM.Stop.

Change-Id: I551b37f62238791ce9506aad2c558c7bca73c81f
Signed-off-by: jiangyaoguo <jiangyaoguo@gmail.com>
  • Loading branch information
jiangyaoguo committed Sep 12, 2016
1 parent c891561 commit a63de5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/container/dockercontroller/dockercontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (vm *DockerVM) Stop(ctxt context.Context, ccid ccintf.CCID, timeout uint, d
id, _ := vm.GetVMName(ccid)
client, err := cutil.NewDockerClient()
if err != nil {
dockerLogger.Debugf("start - cannot create client %s", err)
dockerLogger.Debugf("stop - cannot create client %s", err)
return err
}
id = strings.Replace(id, ":", "_", -1)
Expand Down

0 comments on commit a63de5f

Please sign in to comment.