Commit 663d3eb5 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'gitaly-override-opt-in-required' into 'master'

Override Gitlab::GitalyClient.explicit_opt_in_required

See merge request gitlab-org/gitlab-ee!6119
parents 8f69639e 6bf2d1c9
module EE
module Gitlab
module GitalyClient
extend ::Gitlab::Utils::Override
extend ActiveSupport::Concern
module ClassMethods
# TODO add override once 'explicit_opt_in_required' exists in GitalyClient
def explicit_opt_in_required
[::Gitlab::GitalyClient::StorageSettings::DISK_ACCESS_DENIED_FLAG]
end
end
end
end
end
......@@ -6,6 +6,8 @@ require 'grpc/health/v1/health_services_pb'
module Gitlab
module GitalyClient
prepend ::EE::Gitlab::GitalyClient
include Gitlab::Metrics::Methods
module MigrationStatus
DISABLED = 1
......
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