mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
multicloud: ICloudNic: add GetId()
This commit is contained in:
@@ -59,6 +59,10 @@ func (region *SRegion) GetInstancePorts(instanceId string) ([]SInstancePort, err
|
||||
return ports, nil
|
||||
}
|
||||
|
||||
func (nic *SInstancePort) GetId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (nic *SInstancePort) GetIP() string {
|
||||
for i := range nic.FixedIps {
|
||||
if regutils.MatchIPAddr(nic.FixedIps[i].IpAddress) {
|
||||
|
||||
Reference in New Issue
Block a user