Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Suraci <suraci.alex@gmail.com>
  • Loading branch information
vito committed Jul 18, 2023
1 parent 377f3ff commit 1f5d9f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,12 @@ func (svc *Service) Start(ctx context.Context, gw bkgw.Client, progSock *Socket)

vtx := rec.Vertex(dig, "start "+strings.Join(args, " "))

var extraHosts []*pb.HostIP
for _, svc := range runningDeps {
extraHosts = append(extraHosts, &pb.HostIP{
extraHosts := make([]*pb.HostIP, len(runningDeps))
for i, svc := range runningDeps {
extraHosts[i] = &pb.HostIP{
Host: svc.Hostname,
IP: svc.IP,
})
}
}

health := newHealth(gw, svc.Container.Ports)
Expand Down

0 comments on commit 1f5d9f6

Please sign in to comment.