mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-13 10:29:27 -04:00
go: remove superfluous else block
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
658cac046f
commit
6c4ebe12f3
1 changed files with 5 additions and 6 deletions
|
@ -55,13 +55,12 @@ func (s *Scheduler) Start(ctx context.Context, wg *sync.WaitGroup) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.log.With(zap.Error(err)).Warnf("Discovering debugd IPs failed")
|
s.log.With(zap.Error(err)).Warnf("Discovering debugd IPs failed")
|
||||||
continue
|
continue
|
||||||
} else {
|
}
|
||||||
s.log.With(zap.Strings("ips", ips)).Infof("Discovered instances")
|
s.log.With(zap.Strings("ips", ips)).Infof("Discovered instances")
|
||||||
s.download(ctx, ips)
|
s.download(ctx, ips)
|
||||||
if s.deploymentDone && s.infoDone {
|
if s.deploymentDone && s.infoDone {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue