Add missing resource reference in FrontendIPConfigurations
Change the value of the "public_ip_address" field from a dictionary to an instance of hnv.client.Resource. Change-Id: I2e85a7cdd42199c845526e063b7a8dbb803ee219
This commit is contained in:
parent
b577feb7e7
commit
2d85269cd3
@ -2155,6 +2155,11 @@ class FrontendIPConfigurations(_BaseHNVModel):
|
||||
resource = Resource.from_raw_data(raw_content)
|
||||
properties["subnet"] = resource
|
||||
|
||||
raw_content = properties.get("publicIPAddress", None)
|
||||
if raw_content is not None:
|
||||
resource = Resource.from_raw_data(raw_content)
|
||||
properties["publicIPAddress"] = resource
|
||||
|
||||
return super(FrontendIPConfigurations, cls).process_raw_data(raw_data)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user