diff options
Diffstat (limited to 'cpp')
| -rwxr-xr-x | cpp/etc/qpidd-primary.in | 2 | ||||
| -rwxr-xr-x | cpp/src/tests/ha_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/etc/qpidd-primary.in b/cpp/etc/qpidd-primary.in index e79d8cc09c..86bc76d5e1 100755 --- a/cpp/etc/qpidd-primary.in +++ b/cpp/etc/qpidd-primary.in @@ -76,7 +76,7 @@ start() { lock $QPID_INIT start primary || return $? echo -n $"Promoting to primary: " - err=$($QPID_HA promote 2>&1) + err=$($QPID_HA promote --cluster-manager 2>&1) RETVAL=$? [ $RETVAL = 0 ] && success || { echo -n "$err: "; failure; } echo diff --git a/cpp/src/tests/ha_test.py b/cpp/src/tests/ha_test.py index f09a4cd573..9adad45ed4 100755 --- a/cpp/src/tests/ha_test.py +++ b/cpp/src/tests/ha_test.py @@ -176,7 +176,7 @@ acl allow all all except Exception, e: raise Exception("Error in qpid_ha -b %s %s: %s"%(url, args,e)) - def promote(self): self.ready(); self.qpid_ha(["promote"]) + def promote(self): self.ready(); self.qpid_ha(["promote", "--cluster-manager"]) def replicate(self, from_broker, queue): self.qpid_ha(["replicate", from_broker, queue]) @property def agent(self): |
