Page MenuHomePhabricator

D10293.id24884.diff
No OneTemporary

D10293.id24884.diff

diff --git a/src/applications/drydock/blueprint/DrydockPreallocatedHostBlueprintImplementation.php b/src/applications/drydock/blueprint/DrydockPreallocatedHostBlueprintImplementation.php
--- a/src/applications/drydock/blueprint/DrydockPreallocatedHostBlueprintImplementation.php
+++ b/src/applications/drydock/blueprint/DrydockPreallocatedHostBlueprintImplementation.php
@@ -108,13 +108,15 @@
'host' => $resource->getAttribute('host'),
'port' => $resource->getAttribute('port'),
'credential' => $resource->getAttribute('credential'),
- 'platform' => $resource->getAttribute('platform')));
+ 'platform' => $resource->getAttribute('platform')))
+ ->setWorkingDirectory($lease->getAttribute('path'));
case 'filesystem':
return id(new DrydockSFTPFilesystemInterface())
->setConfiguration(array(
'host' => $resource->getAttribute('host'),
'port' => $resource->getAttribute('port'),
- 'credential' => $resource->getAttribute('credential')));
+ 'credential' => $resource->getAttribute('credential')))
+ ->setWorkingDirectory($lease->getAttribute('path'));
}
throw new Exception("No interface of type '{$type}'.");

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 19, 4:16 AM (4 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716560
Default Alt Text
D10293.id24884.diff (1 KB)

Event Timeline