Skip to content

Commit

Permalink
getlogs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dciangot committed Oct 30, 2023
1 parent fb5d7f8 commit bab7c82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/sidecars/slurm/GetLogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ func GetLogsHandler(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(statusCode)
return
} else {
cmd = OSexec.Command("cat", "slurm-"+req.PodUID+"_*")
log.G(Ctx).Info("Reading")
cmd = OSexec.Command("cat", ".tmp/"+req.PodUID+"_*")
}

output, err := cmd.CombinedOutput()
Expand Down

0 comments on commit bab7c82

Please sign in to comment.