diff --git a/pkg/util/aws/instance.go b/pkg/util/aws/instance.go index 4d76ca5733..b9a93703d4 100644 --- a/pkg/util/aws/instance.go +++ b/pkg/util/aws/instance.go @@ -450,7 +450,7 @@ func (self *SRegion) GetInstances(zoneId string, ids []string, offset int, limit } var networkInterfaces SNetworkInterfaces - var eipAddress SEipAddress + eipAddress := SEipAddress{} for _, n := range instance.NetworkInterfaces { i := SNetworkInterface{ MacAddress: *n.MacAddress,