diff options
Diffstat (limited to 'lib/action/git_lfs_authenticate.rb')
-rw-r--r-- | lib/action/git_lfs_authenticate.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/action/git_lfs_authenticate.rb b/lib/action/git_lfs_authenticate.rb deleted file mode 100644 index 8c5294d..0000000 --- a/lib/action/git_lfs_authenticate.rb +++ /dev/null @@ -1,26 +0,0 @@ -require_relative '../action' -require_relative '../gitlab_logger' - -module Action - class GitLFSAuthenticate < Base - def initialize(actor, repo_name) - @actor = actor - @repo_name = repo_name - end - - def execute(_, _) - GitlabMetrics.measure('lfs-authenticate') do - $logger.info('Processing LFS authentication', user: actor.log_username) - lfs_access = api.lfs_authenticate(actor, repo_name) - return unless lfs_access - - puts lfs_access.authentication_payload - end - true - end - - private - - attr_reader :actor, :repo_name - end -end |