Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for local machine ID #91

Merged
merged 11 commits into from
Nov 20, 2023
2 changes: 2 additions & 0 deletions internal/locald/sandboxmanager/sandbox_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ func newSBController(log *slog.Logger, sandbox *tunapiv1.WatchLocalSandboxesResp
}
// run the controller
go ctrl.run()
// trigger a reconcile
ctrl.triggerReconcile()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put this in ctrl.run() so it is more self-contained.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I addressed this in #94

return ctrl
}

Expand Down