Skip to content

Commit

Permalink
Delete dead code in cluster_manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
mml committed Aug 10, 2016
1 parent 139c5f2 commit 1b5d8fe
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions controllers/gce/controller/cluster_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ limitations under the License.
package controller

import (
"fmt"
"io"
"net/http"
"os"
Expand All @@ -39,10 +38,6 @@ const (
defaultPort = 80
defaultHealthCheckPath = "/"

// A single instance-group is created per cluster manager.
// Tagged with the name of the controller.
instanceGroupPrefix = "k8s-ig"

// A backend is created per nodePort, tagged with the nodeport.
// This allows sharing of backends across loadbalancers.
backendPrefix = "k8s-be"
Expand Down Expand Up @@ -199,10 +194,6 @@ func (c *ClusterManager) GC(lbNames []string, nodePorts []int64) error {
return nil
}

func defaultInstanceGroupName(clusterName string) string {
return fmt.Sprintf("%v-%v", instanceGroupPrefix, clusterName)
}

func getGCEClient(config io.Reader) *gce.GCECloud {
// Creating the cloud interface involves resolving the metadata server to get
// an oauth token. If this fails, the token provider assumes it's not on GCE.
Expand Down

0 comments on commit 1b5d8fe

Please sign in to comment.