Skip to content
Merged
Show file tree
Hide file tree
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 VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1!11.1.7
1!11.1.8
5 changes: 4 additions & 1 deletion pycloudlib/azure/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,10 @@ def add_network_interface(self, **kwargs) -> str:
"tags": None,
}
nic_name = f"{self.name}-nic-{us}"
nic_poller = self._network_client.network_interfaces.begin_create_or_update(
# The SDK types `parameters` as a `NetworkInterface` model (or raw bytes),
# but it also accepts the ARM-shaped dict we build above, which is what the
# rest of this module passes. Ignore the narrower overload, not the call.
nic_poller = self._network_client.network_interfaces.begin_create_or_update( # type: ignore[call-overload]
self._instance["rg_name"],
nic_name,
default_config,
Expand Down