HADOOP-6680. hadoop-cloud push command invokes proxy creation. Contributed by Andrew Klochkov.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@931226 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/CHANGES.txt b/CHANGES.txt
index 9152ae8..8df0dbc 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -309,6 +309,9 @@
     HADOOP-6640. FileSystem.get() does RPC retries within a static
     synchronized block. (hairong)
 
+    HADOOP-6680. hadoop-cloud push command invokes proxy creation.
+    (Andrew Klochkov via tomwhite)
+
 Release 0.21.0 - Unreleased
 
   INCOMPATIBLE CHANGES
diff --git a/src/contrib/cloud/src/py/hadoop/cloud/cli.py b/src/contrib/cloud/src/py/hadoop/cloud/cli.py
index 3f75386..5956c8f 100644
--- a/src/contrib/cloud/src/py/hadoop/cloud/cli.py
+++ b/src/contrib/cloud/src/py/hadoop/cloud/cli.py
@@ -374,7 +374,7 @@
   elif command == 'push':
     (opt, args, service) = parse_options_and_config(command, SSH_OPTIONS,
                                                     ("FILE",))
-    service.proxy(opt.get('ssh_options'), args[1])
+    service.push(opt.get('ssh_options'), args[1])
 
   elif command == 'exec':
     (opt, args, service) = parse_options_and_config(command, SSH_OPTIONS,