We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc33054 commit 14bfd70Copy full SHA for 14bfd70
src/openstack_mcp_server/tools/network_tools.py
@@ -790,7 +790,7 @@ def update_floating_ip(
790
"""
791
conn = get_openstack_conn()
792
update_args: dict = {}
793
- if description is not None:
+ if description:
794
update_args["description"] = description
795
if port_id:
796
update_args["port_id"] = port_id
@@ -1250,9 +1250,9 @@ def update_security_group(
1250
1251
1252
1253
- if name is not None:
+ if name:
1254
update_args["name"] = name
1255
1256
1257
if not update_args:
1258
current = conn.network.get_security_group(security_group_id)
0 commit comments