mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-09 16:06:06 +02:00
rest client: use interface instead of structure pointer
This commit is contained in:
@@ -37,7 +37,7 @@ var (
|
||||
// Config contains operator-wide clients and configuration used from a cluster. TODO: remove struct duplication.
|
||||
type Config struct {
|
||||
KubeClient *kubernetes.Clientset //TODO: move clients to the better place?
|
||||
RestClient *rest.RESTClient
|
||||
RestClient rest.Interface
|
||||
RestConfig *rest.Config
|
||||
TeamsAPIClient *teams.API
|
||||
OpConfig config.Config
|
||||
|
||||
Reference in New Issue
Block a user