refactor: use inline StringSet constructor

This commit is contained in:
Matthias Radestock
2017-07-04 06:29:19 +01:00
parent 6c03540b1f
commit f0ae2bd98c
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ func (r *Reporter) Tag(rpt report.Report) (report.Report, error) {
rpt.Container.Nodes[id] = n.WithParents(report.MakeSets().Add(
report.Pod,
report.MakeStringSet().Add(report.MakePodNodeID(uid)),
report.MakeStringSet(report.MakePodNodeID(uid)),
))
}
return rpt, nil