diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 12:15:49 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 12:15:49 +0400 |
commit | 081c272b85d9344ff3a0b548f8f5eabc60e9a58d (patch) | |
tree | 7babb4bdcec37e2bfe5eb1b3a3914c99de4d989a /lib | |
parent | 12198bee2ff321eed6f2580e40675c4081999d4f (diff) |
Remove outdated specs and fixed key remove
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/backend/shell.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb index 7423b106a45..c596148b13c 100644 --- a/lib/gitlab/backend/shell.rb +++ b/lib/gitlab/backend/shell.rb @@ -38,8 +38,8 @@ module Gitlab # Ex. # remove_key("sha-rsa") # - def remove_key(key_content) - system("/home/git/gitlab-shell/bin/gitlab-keys rm-key \"#{key_content}\"") + def remove_key(username, key_content) + system("/home/git/gitlab-shell/bin/gitlab-keys rm-key #{username} \"#{key_content}\"") end |