Skip to content

Commit

Permalink
return err when create container fails
Browse files Browse the repository at this point in the history
  • Loading branch information
zc authored and CMGS committed Feb 12, 2020
1 parent a0f2ad7 commit fe20f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/rpc.go
Expand Up @@ -456,7 +456,7 @@ func (v *Vibranium) CreateContainer(opts *pb.DeployOptions, stream pb.CoreRPC_Cr

deployOpts, err := toCoreDeployOptions(opts)
if err != nil {
return nil
return err
}

return withDumpFiles(opts.Data, func(files map[string]string) error {
Expand Down

0 comments on commit fe20f98

Please sign in to comment.