Skip to content

Commit

Permalink
Determine job namespace in lookout using job json. (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
jankaspar authored Jul 5, 2021
1 parent 5538f22 commit 6065120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lookout/ui/src/services/JobService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default class JobService {
const jobYaml = jobInfo.jobJson ? jobJsonToYaml(jobFromJson) : ""
const runs = getRuns(jobInfo, jobFromJson)
const annotations = jobInfo.job?.annotations ? this.getAnnotations(jobInfo.job?.annotations) : {}
const namespace = jobInfo.job?.namespace ?? ""
const namespace = jobFromJson?.namespace ?? ""

return {
jobId: jobId,
Expand Down

0 comments on commit 6065120

Please sign in to comment.