chore: Move deployment UI and HA into experimental (#4595)

These are new, so they deserve a bit of gel-time!
This commit is contained in:
Kyle Carberry
2022-10-17 13:29:40 -05:00
committed by GitHub
parent 5325bec26c
commit 18c4368571
4 changed files with 16 additions and 4 deletions

View File

@ -267,7 +267,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
if changed, enabled := featureChanged(codersdk.FeatureHighAvailability); changed {
coordinator := agpltailnet.NewCoordinator()
if enabled {
if api.Experimental && enabled {
haCoordinator, err := tailnet.NewCoordinator(api.Logger, api.Pubsub)
if err != nil {
api.Logger.Error(ctx, "unable to set up high availability coordinator", slog.Error(err))