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:
@@ -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}'.");
|
||||
|
||||
Reference in New Issue
Block a user