From c16acb61f0883d3c6e162d5811e40bc936ce21a9 Mon Sep 17 00:00:00 2001 From: Nikolaos Moraitis Date: Mon, 25 Feb 2019 16:25:10 +0100 Subject: [PATCH] remove unused constants --- pkg/cloudprovider/providers/gce/gce.go | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkg/cloudprovider/providers/gce/gce.go b/pkg/cloudprovider/providers/gce/gce.go index 0716a96877..6b36bd4561 100644 --- a/pkg/cloudprovider/providers/gce/gce.go +++ b/pkg/cloudprovider/providers/gce/gce.go @@ -64,18 +64,8 @@ const ( gceAffinityTypeNone = "NONE" // AffinityTypeClientIP - affinity based on Client IP. gceAffinityTypeClientIP = "CLIENT_IP" - // AffinityTypeClientIPProto - affinity based on Client IP and port. - gceAffinityTypeClientIPProto = "CLIENT_IP_PROTO" - - operationPollInterval = time.Second - // Creating Route in very large clusters, may take more than half an hour. - operationPollTimeoutDuration = time.Hour - - // Each page can have 500 results, but we cap how many pages - // are iterated through to prevent infinite loops if the API - // were to continuously return a nextPageToken. - maxPages = 25 + operationPollInterval = time.Second maxTargetPoolCreateInstances = 200 // HTTP Load Balancer parameters