Skip to content

Commit eee1e91

Browse files
committed
fix: Correct public IP prefixes reference in NATGatewaysManager and remove autoscale_settings from VMScaleSetsManager
Signed-off-by: long-pham-ts <[email protected]>
1 parent eb93a51 commit eee1e91

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/plugin/manager/nat_gateways/instance_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def create_cloud_service(self, options, secret_data, schema):
107107
nat_gateway_dict.update(
108108
{
109109
"public_ip_prefixes_count": len(
110-
nat_gateway_dict["public_ip_addresses"]
110+
nat_gateway_dict["public_ip_prefixes"]
111111
)
112112
}
113113
)

src/plugin/manager/vm_scale_sets/scale_set_manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ def create_cloud_service(self, options, secret_data, schema):
221221
}
222222
)
223223

224+
vm_scale_set_dict.pop("autoscale_settings")
225+
224226
self.set_region_code(vm_scale_set_dict["location"])
225227

226228
cloud_services.append(

0 commit comments

Comments
 (0)