Skip to content

Commit 3212040

Browse files
author
Ferenc Born
committed
Typo
1 parent 8d43e72 commit 3212040

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloudstackops/xenserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def pool_ha_enable(self, host):
220220
print "Note: Enabling HA"
221221
try:
222222
with settings(host_string=self.ssh_user + "@" + host.ipaddress):
223-
if fab.run("cat /etc/redhat-release | awk '{ $3 = substr($3,1,3); print $3 }'") == "6.2"
223+
if fab.run("cat /etc/redhat-release | awk '{ $3 = substr($3,1,3); print $3 }'") == "6.2":
224224
return fab.run("xe pool-ha-enable heartbeat-sr-uuids=$(xe sr-list type=nfs params=uuid --minimal) ha-config:timeout=180 ha-config:ha-host-failures-to-tolerate=1")
225225
else:
226226
return fab.run("xe pool-ha-enable heartbeat-sr-uuids=$(xe sr-list type=nfs params=uuid --minimal) ha-config:timeout=180; xe pool-param-set uuid=$(xe pool-list params=uuid --minimal) ha-host-failures-to-tolerate=1")

0 commit comments

Comments
 (0)