mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
refactor: use inline StringSet constructor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user