1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix tabbed indentation in network/haproxy.py

This commit is contained in:
Matt Martz 2015-12-22 15:37:41 -06:00 committed by Matt Clay
parent 7f42dda976
commit 8c14013b95

View file

@ -312,9 +312,9 @@ class HAProxy(object):
Figure out what you want to do from ansible, and then do it. Figure out what you want to do from ansible, and then do it.
""" """
self.get_current_state(self.host, self.backend) self.get_current_state(self.host, self.backend)
self.previous_states = ','.join(self.status_server) self.previous_states = ','.join(self.status_server)
self.previous_weights = ','.join(self.status_weight) self.previous_weights = ','.join(self.status_weight)
# toggle enable/disbale server # toggle enable/disbale server
if self.state == 'enabled': if self.state == 'enabled':