Skip to content

Commit cdb1224

Browse files
committed
fix log line
1 parent c28d709 commit cdb1224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
630630

631631
if initial, changed, enabled := featureChanged(codersdk.FeatureHighAvailability); shouldUpdate(initial, changed, enabled) {
632632
var coordinator agpltailnet.Coordinator
633-
if enabled && !api.DeploymentValues.InMemoryDatabase.Value() {
633+
if enabled && api.DeploymentValues.InMemoryDatabase.Value() {
634634
api.Logger.Warn(ctx, "high availability is enabled, but cannot be configured due to the database being set to in-memory")
635635
}
636636
if enabled && !api.DeploymentValues.InMemoryDatabase.Value() {

0 commit comments

Comments
 (0)