Skip to content

Commit

Permalink
Remove exp from report for notify template (#1609)
Browse files Browse the repository at this point in the history
* Remove exp from report for notify template

Signed-off-by: Alan Cha <[email protected]>

* Add name and namespace

Signed-off-by: Alan Cha <[email protected]>

---------

Signed-off-by: Alan Cha <[email protected]>
  • Loading branch information
Alan-Cha authored Aug 29, 2023
1 parent e8d63a4 commit 1358e2d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion base/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ func getReport(exp *Experiment) map[string]Report {
NoTaskFailures: exp.NoFailure(),
NumTasks: len(exp.Spec),
NumCompletedTasks: exp.Result.NumCompletedTasks,
Experiment: exp,
Experiment: &Experiment{
Metadata: ExperimentMetadata{
Name: exp.Metadata.Name,
Namespace: exp.Metadata.Namespace,
},
},
},
}
}
Expand Down

0 comments on commit 1358e2d

Please sign in to comment.