diff options
author | David Turner <novalis@novalis.org> | 2017-08-03 14:47:39 -0400 |
---|---|---|
committer | David Turner <novalis@novalis.org> | 2017-09-28 15:45:29 -0400 |
commit | 2f92f124d1297ea58935f37609b7e2b0709e64d3 (patch) | |
tree | 8dfcf7c50c962fa9743eb8a19c70ad2d2298daba /lib/gitlab_net.rb | |
parent | bee2bcc5546031aa66d0a3e028bb709282275254 (diff) | |
download | gitlab-shell-2f92f124d1297ea58935f37609b7e2b0709e64d3.tar.gz |
pass gl_username through to hooks
Diffstat (limited to 'lib/gitlab_net.rb')
-rw-r--r-- | lib/gitlab_net.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index de0cc57..34f10c5 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -40,7 +40,13 @@ class GitlabNet if resp.code == '200' GitAccessStatus.create_from_json(resp.body) else - GitAccessStatus.new(false, 'API is not accessible', nil, nil, nil) + GitAccessStatus.new(false, + 'API is not accessible', + gl_repository: nil, + gl_username: nil, + repository_path: nil, + gitaly: nil, + geo_node: false) end end |