Skip to content

Commit

Permalink
fix: upload all error msg (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryashbhardwaj authored Jan 6, 2023
1 parent 2e77c97 commit 56c8645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/cmd/scheduler/upload_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (u *uploadCommand) RunE(_ *cobra.Command, _ []string) error {

uploadResponse, err := u.sendUploadAllRequest(u.clientConfig.Project.Name)
if err != nil {
return fmt.Errorf("request failed for project %s: %w, %s", u.clientConfig.Project.Name, err, uploadResponse.ErrorMessage)
return fmt.Errorf("request failed for project %s: %w", u.clientConfig.Project.Name, err)
}
if uploadResponse.Status {
u.logger.Info("Uploaded jobs for project " + u.clientConfig.Project.Name)
Expand Down

0 comments on commit 56c8645

Please sign in to comment.