Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15436588
D10293.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10293.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 26, 3:18 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716560
Default Alt Text
D10293.diff (1 KB)
Attached To
Mode
D10293: Set the working directory when providing SSH / SFTP interfaces
Attached
Detach File
Event Timeline
Log In to Comment