Skip to content

Commit

Permalink
Remove old logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jggoebel committed Sep 17, 2024
1 parent 4849922 commit f690f34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions v3/pkg/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -829,11 +829,9 @@ func (sp ShellProxy) VerifyTasksFuncByVMIdGroupWithSemaphore(w http.ResponseWrit
// Handle the error (log, return HTTP error response)
close(errorChan)
glog.Infof("Error in goroutine: %v", err)
util.ReturnHTTPMessage(w, r, 500, "error", "could send command to vm")
util.ReturnHTTPMessage(w, r, 500, "error", "could not send command to vm")
return
default:
// No error in the errorChan
glog.Infof("No Error in goroutine: %v", vm_output_tasks)
jsonStr, _ := json.Marshal(vm_output_tasks)
util.ReturnHTTPContent(w, r, 200, "success", jsonStr)
}
Expand Down

0 comments on commit f690f34

Please sign in to comment.