Skip to content

Commit

Permalink
missing force
Browse files Browse the repository at this point in the history
  • Loading branch information
CMGS committed Oct 4, 2017
1 parent f2a802a commit 98c19e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions commands/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func generateDeployOpts(data []byte, pod, entry, image, network string, cpu floa
if entrypoint.Hook != nil {
hook.AfterStart = entrypoint.Hook.AfterStart
hook.BeforeStop = entrypoint.Hook.BeforeStop
hook.Force = entrypoint.Hook.Force
}

healthCheck := &pb.HealthCheckOptions{}
Expand Down
2 changes: 1 addition & 1 deletion commands/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ func remove(c *cli.Context, conn *grpc.ClientConn) {

if msg.Success {
log.Infof("[Remove] Success %s", msg.Id[:12])
log.Info(msg.Message)
} else {
log.Errorf("[Remove] Failed %s", msg.Message)
}
log.Info(msg.Message)
}
}

0 comments on commit 98c19e2

Please sign in to comment.