summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-08-01 13:48:37 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2018-08-01 15:08:45 +1000
commit1e96cc63a931c2665e1cacfd53c42e25c96c3b65 (patch)
treebb277ae66740851906924f97c3c7aa16b6f42241
parent35d204d5d6f03e538aba7515792a0eb2b4ba3526 (diff)
downloadgitlab-shell-1e96cc63a931c2665e1cacfd53c42e25c96c3b65.tar.gz
Added TODO to fixup whatever naming
-rw-r--r--lib/gitlab_keys.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb
index 3ee2882..d0463e2 100644
--- a/lib/gitlab_keys.rb
+++ b/lib/gitlab_keys.rb
@@ -9,6 +9,7 @@ class GitlabKeys # rubocop:disable Metrics/ClassLength
attr_accessor :auth_file, :key
+ # TODO: whatever is not a great name
def self.command(whatever)
"#{ROOT_PATH}/bin/gitlab-shell #{whatever}"
end
@@ -21,6 +22,7 @@ class GitlabKeys # rubocop:disable Metrics/ClassLength
command(key_id)
end
+ # TODO: whatever is not a great name
def self.whatever_line(command, trailer)
"command=\"#{command}\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty #{trailer}"
end