mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
Remove setWorkingDirectory call on SFTP interface
Summary: I derped on this; the SFTP interface doesn't have setWorkingDirectory because it implements DrydockFilesystemInterface and not DrydockCommandInterface. So when you use the Upload File build step, the daemon will crash due to an undefined method. Test Plan: Tested on my live server. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10351
This commit is contained in:
parent
3049e46875
commit
ddfa5cbdf6
1 changed files with 1 additions and 2 deletions
|
@ -115,8 +115,7 @@ final class DrydockPreallocatedHostBlueprintImplementation
|
|||
->setConfiguration(array(
|
||||
'host' => $resource->getAttribute('host'),
|
||||
'port' => $resource->getAttribute('port'),
|
||||
'credential' => $resource->getAttribute('credential')))
|
||||
->setWorkingDirectory($lease->getAttribute('path'));
|
||||
'credential' => $resource->getAttribute('credential')));
|
||||
}
|
||||
|
||||
throw new Exception("No interface of type '{$type}'.");
|
||||
|
|
Loading…
Reference in a new issue