mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-01 15:47:38 +02:00
Fix the golint, gosimple warnings
This commit is contained in:
@@ -22,7 +22,7 @@ type Config struct {
|
||||
KubeClient *kubernetes.Clientset
|
||||
RestClient *rest.RESTClient
|
||||
EtcdClient etcdclient.KeysAPI
|
||||
TeamsAPIClient *teams.TeamsAPI
|
||||
TeamsAPIClient *teams.API
|
||||
InfrastructureRoles map[string]spec.PgUser
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@ type Controller struct {
|
||||
Config
|
||||
opConfig *config.Config
|
||||
logger *logrus.Entry
|
||||
waitCluster sync.WaitGroup
|
||||
|
||||
clustersMu sync.RWMutex
|
||||
clusters map[spec.NamespacedName]*cluster.Cluster
|
||||
|
||||
Reference in New Issue
Block a user