Commit af019d2f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-gitaccess-scope' into 'master'

Fixing scope issue in GitAccess.

This MR fixes a scoping issue around the GitAccessStatus.new call - it needs to be scoped to the Gitlab otherwise it can end up being confused with the GitAccessStatus class in gitlab-shell, which has a 3-element constructor.

Although not strictly necessary for community GitLab, it is more correct, and fixes an issue we (Perforce) found due to our engine overrides.

This change should have any affect on community GitLab.

See merge request !5483
parents 624f35be 2e6085d8
......@@ -134,7 +134,7 @@ module Gitlab
end
def build_status_object(status, message = '')
GitAccessStatus.new(status, message)
Gitlab::GitAccessStatus.new(status, message)
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