Skip to content

Commit

Permalink
fix deploy (#2382)
Browse files Browse the repository at this point in the history
Signed-off-by: husharp <[email protected]>
  • Loading branch information
HuSharp authored Mar 26, 2024
1 parent 7327e75 commit ddbbc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/playground/playground.go
Original file line number Diff line number Diff line change
Expand Up @@ -1318,11 +1318,11 @@ func (p *Playground) renderSDFile() error {

_ = p.WalkInstances(func(cid string, inst instance.Instance) error {
v := inst.MetricAddr()
t, ok := cid2targets[cid]
t, ok := cid2targets[inst.Component()]
if ok {
v.Targets = append(v.Targets, t.Targets...)
}
cid2targets[cid] = v
cid2targets[inst.Component()] = v
return nil
})

Expand Down

0 comments on commit ddbbc4d

Please sign in to comment.