Merge pull request #12079 from justinsb/gce_targetpool_lifecycle_is_internal

GCE: TargetPool should ignore Lifecycle field
This commit is contained in:
Kubernetes Prow Robot 2021-07-30 11:01:38 -07:00 committed by GitHub
commit 638b79f301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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
}