Repository: incubator-hawq
Updated Branches:
  refs/heads/master 9dedc6ae4 -> 733c94747


HAWQ-567. Fix -U --specia-mode option conflict check


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/733c9474
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/733c9474
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/733c9474

Branch: refs/heads/master
Commit: 733c94747793fff14503b261676d4012f1037133
Parents: 9dedc6a
Author: rlei <[email protected]>
Authored: Wed Mar 23 10:49:53 2016 +0800
Committer: rlei <[email protected]>
Committed: Wed Mar 23 10:55:29 2016 +0800

----------------------------------------------------------------------
 tools/bin/hawq_ctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/733c9474/tools/bin/hawq_ctl
----------------------------------------------------------------------
diff --git a/tools/bin/hawq_ctl b/tools/bin/hawq_ctl
index 49a9ff4..aeb871b 100755
--- a/tools/bin/hawq_ctl
+++ b/tools/bin/hawq_ctl
@@ -943,7 +943,7 @@ def get_args():
         logger.error("Multiple actions specified.  See the --help info.")
         sys.exit(1)
 
-    if opts.special_mode and (opts.node_type != 'start'):
+    if opts.special_mode and (opts.hawq_command != 'start'):
         logger.error("['-U', '--special-mode'] only apply to 'hawq start'.  
See the --help info.")
         sys.exit(1)
 

Reply via email to