diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-21 12:35:26 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-21 13:08:52 -0700 |
commit | f5591f68c1439eda836460e0dec44f610709a5b8 (patch) | |
tree | 6d85f1686ddf6317001d116ad53e37e616e6697c /lib/gitlab_net.rb | |
parent | 914f968523779972e74f5a12a9e6b668c184c898 (diff) | |
download | gitlab-shell-f5591f68c1439eda836460e0dec44f610709a5b8.tar.gz |
Support unhiding of all refs for Geo Nodes
By default, we hide certain refs (e.g. keep-around/XXX) to save user
download time. We need to preserve these references on secondary Geo
nodes to have a true copy.
Diffstat (limited to 'lib/gitlab_net.rb')
-rw-r--r-- | lib/gitlab_net.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index 4c938b1..1a6c016 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -39,7 +39,7 @@ class GitlabNet if resp.code == '200' GitAccessStatus.create_from_json(resp.body) else - GitAccessStatus.new(false, 'API is not accessible', nil, nil) + GitAccessStatus.new(false, 'API is not accessible', nil, nil, nil, false) end end |