Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Fix - can't toggle gateway high availability #694

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyvcloud/vcd/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def edit_gateway(self, newname=None, desc=None, ha=None):
gateway.Description = E.Description(desc)
else:
gateway.insert(0, E.Description(desc))
if ha:
if ha is not None:
gateway.Configuration.HaEnabled = E.HaEnabled(ha)

return self.client.put_linked_resource(
Expand Down