diff --git a/managed/services/dbaas/kubernetes/client/database/database.go b/managed/services/dbaas/kubernetes/client/database/database.go index 3dfa6be64f..7395ee4a18 100644 --- a/managed/services/dbaas/kubernetes/client/database/database.go +++ b/managed/services/dbaas/kubernetes/client/database/database.go @@ -53,7 +53,7 @@ func NewForConfig(c *rest.Config) (*DatabaseClusterClient, error) { dbaasv1.SchemeBuilder.AddToScheme(scheme.Scheme)//nolint:errcheck metav1.AddToGroupVersion(scheme.Scheme, dbaasv1.GroupVersion) }) -} + client, err := rest.RESTClientFor(&config)