re-align to master

This commit is contained in:
JackDoan
2026-07-14 11:38:43 -05:00
parent 49028cb755
commit 05f7923860
6 changed files with 23 additions and 30 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ func New(control *nebula.Control) (_ *Service, reterr error) {
return nil, errors.New("must be using user device")
}
wait, err := control.Start()
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 wait()
return control.Wait()
})
return &s, nil