Skip to content

Commit 17516f8

Browse files
committed
code review remarks
1 parent 92c3b54 commit 17516f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

castai/resource_node_configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ func fromAKSNodePublicIP(sdkPublicIp *sdk.NodeconfigV1AKSConfigPublicIP) []map[s
13261326
if sdkPublicIp.Tags != nil {
13271327
tags := make(map[string]interface{})
13281328
for _, tag := range *sdkPublicIp.Tags {
1329-
tags[*tag.IpTagType] = *tag.TagValue
1329+
tags[lo.FromPtr(tag.IpTagType)] = lo.FromPtr(tag.TagValue)
13301330
}
13311331
m["tags"] = tags
13321332
}

0 commit comments

Comments
 (0)