diff options
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r-- | lib/gitlab_shell.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 180e5eb..cd6fcb9 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -5,10 +5,12 @@ require_relative 'gitlab_net' require_relative 'gitlab_metrics' require_relative 'current_user_helper' require_relative 'api_command_helper' +require_relative 'log_helper' class GitlabShell # rubocop:disable Metrics/ClassLength include CurrentUserHelper include APICommandHelper + include LogHelper class AccessDeniedError < StandardError; end class DisallowedCommandError < StandardError; end @@ -189,12 +191,6 @@ class GitlabShell # rubocop:disable Metrics/ClassLength GitlabNet.new end - - # User identifier to be used in log messages. - def log_username - config.audit_usernames ? username : "user with key #{key_id}" - end - def lfs_authenticate lfs_access = api.lfs_authenticate(key_id, repo_name) return unless lfs_access |