File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ func (s *Subnet) ShowOnSubnetMode() bool { return true }
18
18
func (sgl * SecurityGroupLayer ) ShowOnSubnetMode () bool { return false }
19
19
func (sg * SecurityGroup ) ShowOnSubnetMode () bool { return false }
20
20
func (v * Vsi ) ShowOnSubnetMode () bool { return false }
21
- func (v * NetworkInterface ) ShowOnSubnetMode () bool { return false }
21
+ func (ni * NetworkInterface ) ShowOnSubnetMode () bool { return false }
22
22
23
23
// for DrawioResourceIntf that are not VPCResourceIntf, we implement Kind():
24
24
func (r * Region ) Kind () string { return "Cloud" }
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ type NetworkInterface struct {
47
47
Vsi string `json:"-"`
48
48
}
49
49
50
+ func (ni * NetworkInterface ) VsiName () string {
51
+ return ni .Vsi
52
+ }
53
+
50
54
func (ni * NetworkInterface ) Name () string {
51
55
return nameWithBracketsInfo (ni .Vsi , ni .Address ())
52
56
}
You can’t perform that action at this time.
0 commit comments