Commit 547ada18 authored by Aakriti Gupta's avatar Aakriti Gupta Committed by Peter Leitzen

Default maintenance_mode value to false if not explicitly set

parent dea0b7b4
......@@ -157,6 +157,7 @@ module EE
geo_node_allowed_ips: '0.0.0.0/0, ::/0',
git_two_factor_session_expiry: 15,
lock_memberships_to_ldap: false,
maintenance_mode: false,
max_personal_access_token_lifetime: nil,
mirror_capacity_threshold: Settings.gitlab['mirror_capacity_threshold'],
mirror_max_capacity: Settings.gitlab['mirror_max_capacity'],
......
---
title: Default maintenance_mode value to false if not explicitly set
merge_request: 54428
author:
type: fixed
......@@ -782,4 +782,10 @@ RSpec.describe ApplicationSetting do
it { is_expected.to be true }
end
end
describe 'maintenance mode setting' do
it 'defaults to false' do
expect(subject.maintenance_mode).to be false
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment