From 2ecf504a2e97b8260173912ace31e42125111f4f Mon Sep 17 00:00:00 2001 From: Robert Bailey Date: Tue, 8 Dec 2015 09:36:49 -0800 Subject: [PATCH] Change the gce constant for session affinity to have the capitalization shown in the documentation. Fixes #18347 --- pkg/cloudprovider/providers/gce/gce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/providers/gce/gce.go b/pkg/cloudprovider/providers/gce/gce.go index 3702170ce03..d3f26acdeb9 100644 --- a/pkg/cloudprovider/providers/gce/gce.go +++ b/pkg/cloudprovider/providers/gce/gce.go @@ -50,7 +50,7 @@ const ( k8sNodeRouteTag = "k8s-node-route" // AffinityTypeNone - no session affinity. - gceAffinityTypeNone = "None" + gceAffinityTypeNone = "NONE" // AffinityTypeClientIP - affinity based on Client IP. gceAffinityTypeClientIP = "CLIENT_IP" // AffinityTypeClientIPProto - affinity based on Client IP and port.