Skip to content

Commit

Permalink
Corrected Should Deregister to Lb
Browse files Browse the repository at this point in the history
  • Loading branch information
IGUDE2 committed May 24, 2024
1 parent b587bb3 commit e28b0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spotinst_sdk2/models/stateful_node/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,12 +898,12 @@ def __init__(self,
snapshot_deallocation_config: Deallocate = none,
should_terminate_vm: bool = none,
should_deregister_from_lb: bool = none):
self.should_deregister_from_lb = should_deregister_from_lb
self.disk_deallocation_config = disk_deallocation_config
self.network_deallocation_config = network_deallocation_config
self.public_ip_deallocation_config = public_ip_deallocation_config
self.snapshot_deallocation_config = snapshot_deallocation_config
self.should_terminate_vm = should_terminate_vm
self.should_deregister_from_lb = should_deregister_from_lb

def toJSON(self):
return json.dumps(self, default=lambda o: o.__dict__,
Expand Down

0 comments on commit e28b0cd

Please sign in to comment.