Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82d8eb1

Browse files
author
Robert Bailey
committed
Change the gce constant for session affinity to have the capitalization shown in the documentation.
Fixes kubernetes#18347
1 parent f394bce commit 82d8eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloudprovider/gce/gce.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ type GCEAffinityType string
273273

274274
const (
275275
// AffinityTypeNone - no session affinity.
276-
GCEAffinityTypeNone GCEAffinityType = "None"
276+
GCEAffinityTypeNone GCEAffinityType = "NONE"
277277
// AffinityTypeClientIP is the Client IP based.
278278
GCEAffinityTypeClientIP GCEAffinityType = "CLIENT_IP"
279279
// AffinityTypeClientIP is the Client IP based.

0 commit comments

Comments
 (0)