mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 15:37:03 +02:00
more fixes!
This commit is contained in:
+2
-2
@@ -50,7 +50,7 @@ func New(control *nebula.Control) (_ *Service, reterr error) {
|
||||
return nil, errors.New("must be using user device")
|
||||
}
|
||||
|
||||
err := control.Start()
|
||||
wait, err := control.Start()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -155,7 +155,7 @@ func New(control *nebula.Control) (_ *Service, reterr error) {
|
||||
// Add the nebula wait function to the group so a fatal reader error
|
||||
// propagates out through errgroup.Wait().
|
||||
eg.Go(func() error {
|
||||
return control.Wait()
|
||||
return wait()
|
||||
})
|
||||
|
||||
return &s, nil
|
||||
|
||||
Reference in New Issue
Block a user