summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lorrycontroller/givemejob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/givemejob.py b/lorrycontroller/givemejob.py
index 590973a..430942e 100644
--- a/lorrycontroller/givemejob.py
+++ b/lorrycontroller/givemejob.py
@@ -90,7 +90,7 @@ class GiveMeJob(lorrycontroller.LorryControllerRoute):
assert lorry_info['from_path']
remote = self.new_gitano_command(statedb, lorry_info['from_trovehost'])
- local = self.new_gitano_command(statedb, 'localhost')
+ local = lorrycontroller.GitanoCommand('localhost', 'ssh', None, None)
try:
remote_config = remote.get_gitano_config(lorry_info['from_path'])