diff options
Diffstat (limited to 'client/go')
-rw-r--r-- | client/go/cmd/deploy/prepare.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/go/cmd/deploy/prepare.go b/client/go/cmd/deploy/prepare.go index ace14c9b949..a9d1cf73d32 100644 --- a/client/go/cmd/deploy/prepare.go +++ b/client/go/cmd/deploy/prepare.go @@ -25,7 +25,10 @@ func RunPrepare(opts *Options, args []string) (err error) { sessId := getSessionIdFromFile(opts.Tenant) response, err = doPrepare(opts, sessId) } else if isFileOrDir(args[0]) { - RunUpload(opts, args) + err := RunUpload(opts, args) + if err != nil { + return err + } return RunPrepare(opts, []string{}) } else if looksLikeNumber(args[0]) { response, err = doPrepare(opts, args[0]) |