mirror of https://github.com/kubernetes/kops.git
GCE: TargetPool should ignore Lifecycle field
It's an internal field, it shouldn't be detected as a change to apply.
This commit is contained in:
parent
8d0b2d3773
commit
912e28d95a
|
@ -55,6 +55,9 @@ func (e *TargetPool) Find(c *fi.Context) (*TargetPool, error) {
|
|||
actual := &TargetPool{}
|
||||
actual.Name = fi.String(r.Name)
|
||||
|
||||
// Avoid spurious changes
|
||||
actual.Lifecycle = e.Lifecycle
|
||||
|
||||
return actual, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue