We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eedcb4a commit 87834c7Copy full SHA for 87834c7
upcloud_api/server.py
@@ -211,12 +211,12 @@ def add_ip(self, family: str = 'IPv4') -> IPAddress:
211
self.ip_addresses.append(IP)
212
return IP
213
214
- def remove_ip(self, IPAddress: IPAddress) -> None:
+ def remove_ip(self, ip_address: IPAddress) -> None:
215
"""
216
Release the specified IP-address from the server.
217
218
- self.cloud_manager.release_ip(IPAddress.address)
219
- self.ip_addresses.remove(IPAddress)
+ self.cloud_manager.release_ip(ip_address.address)
+ self.ip_addresses.remove(ip_address)
220
221
def add_storage(
222
self,
0 commit comments