1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 01:50:55 +01:00

(stable) Fix a missing getSSHUser() callsite

Summary:
See <https://discourse.phabricator-community.org/t/after-upgrade-git-lfs-push-ends-up-in-call-to-undefined-method-on-diffusion-git-lfs-authenticate-workflow/1047/1>.

I renamed this method in D18912 but missed this callsite since the workflow doesn't live alongside the other ones.

Test Plan: Ran `git push` in an LFS repository over SSH. Before: fatal; after: clean push.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18977
This commit is contained in:
epriestley 2018-01-31 11:21:24 -08:00
parent cff61e4d78
commit 4757ff224c

View file

@ -84,7 +84,7 @@ final class DiffusionGitLFSAuthenticateWorkflow
// This works even if normal HTTP repository operations are not available // This works even if normal HTTP repository operations are not available
// on this host, and does not require the user to have a VCS password. // on this host, and does not require the user to have a VCS password.
$user = $this->getUser(); $user = $this->getSSHUser();
$authorization = DiffusionGitLFSTemporaryTokenType::newHTTPAuthorization( $authorization = DiffusionGitLFSTemporaryTokenType::newHTTPAuthorization(
$repository, $repository,