diff --git a/pkg/healthchecks/healthchecks_test.go b/pkg/healthchecks/healthchecks_test.go index 8ae41a482d..de67042ed4 100644 --- a/pkg/healthchecks/healthchecks_test.go +++ b/pkg/healthchecks/healthchecks_test.go @@ -413,7 +413,7 @@ func TestVersion(t *testing.T) { version: meta.VersionBeta, }, { - desc: "Http2 Health Check with ILB and NEG", + desc: "Http Health Check with ILB and NEG", hc: &HealthCheck{ HealthCheck: computealpha.HealthCheck{ Type: string(annotations.ProtocolHTTP), @@ -421,7 +421,7 @@ func TestVersion(t *testing.T) { forILB: true, forNEG: true, }, - version: meta.VersionBeta, + version: meta.VersionGA, }, } for _, tc := range testCases { diff --git a/pkg/loadbalancers/features/features.go b/pkg/loadbalancers/features/features.go index 2b1f4fb069..53341724ca 100644 --- a/pkg/loadbalancers/features/features.go +++ b/pkg/loadbalancers/features/features.go @@ -63,15 +63,8 @@ var ( } // All of these fields must be filled in to allow L7ILBVersions() to work - l7IlbVersions = ResourceVersions{ - UrlMap: meta.VersionBeta, - ForwardingRule: meta.VersionBeta, - TargetHttpProxy: meta.VersionBeta, - TargetHttpsProxy: meta.VersionBeta, - SslCertificate: meta.VersionBeta, - BackendService: meta.VersionBeta, - HealthCheck: meta.VersionBeta, - } + // TODO(shance) Remove this entirely + l7IlbVersions = *NewResourceVersions() ) func NewResourceVersions() *ResourceVersions {