diff --git a/federation/pkg/federation-controller/cluster/cluster_client.go b/federation/pkg/federation-controller/cluster/cluster_client.go index bfc59c35cc9..450b4a9c2cc 100644 --- a/federation/pkg/federation-controller/cluster/cluster_client.go +++ b/federation/pkg/federation-controller/cluster/cluster_client.go @@ -60,7 +60,7 @@ func NewClusterClientSet(c *federation_v1beta1.Cluster) (*ClusterClient, error) return nil, nil } } - return &clusterClientSet, err + return &clusterClientSet, nil } // GetClusterHealthStatus gets the kubernetes cluster health status by requesting "/healthz"