mirror of https://github.com/kubernetes/kops.git
Merge pull request #8012 from bittopaz/ali-patch-4
Alicloud: use ID of EIP to compare
This commit is contained in:
commit
65d00365ab
|
|
@ -46,7 +46,7 @@ type EIP struct {
|
||||||
var _ fi.CompareWithID = &EIP{}
|
var _ fi.CompareWithID = &EIP{}
|
||||||
|
|
||||||
func (e *EIP) CompareWithID() *string {
|
func (e *EIP) CompareWithID() *string {
|
||||||
return e.Name
|
return e.ID
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *EIP) Find(c *fi.Context) (*EIP, error) {
|
func (e *EIP) Find(c *fi.Context) (*EIP, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue