]> git-server-git.apps.pok.os.sepia.ceph.com Git - remoto.git/commitdiff
Fix extend_path() to extend_env().
authorChris Dunlop <chris@onthe.net.au>
Tue, 11 Sep 2018 07:42:24 +0000 (17:42 +1000)
committerChris Dunlop <chris@onthe.net.au>
Tue, 11 Sep 2018 07:46:55 +0000 (17:46 +1000)
Commit d8b8ebacccf7 changed extend_path() to extend_env(), but missed a
spot. This fixes it.

Signed-off-by: Chris Dunlop <chris@onthe.net.au>
remoto/process.py

index bba68e4e97dd5819261dd173ce8ea02f140ed638..7ce487d26b046654ec2b701561bfd2ac7f9b8b7a 100644 (file)
@@ -160,7 +160,7 @@ def check(conn, command, exit=False, timeout=None, **kw):
     if not kw.get('env'):
         # get the remote environment's env so we can explicitly add
         # the path without wiping out everything
-        kw = extend_path(conn, kw)
+        kw = extend_env(conn, kw)
 
     conn.logger.info('Running command: %s' % ' '.join(admin_command(conn.sudo, command)))
     result = conn.execute(_remote_check, cmd=command, **kw)