Avoid orphaned objects on delete (#654)

* Make setSpec function work correctly when updating cluster status fails
This commit is contained in:
Felix Kunde
2019-08-27 12:54:35 +02:00
committed by Sergey Dudoladov
parent fd6a2454e8
commit 4a863d2280
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ func ResourceNotFound(err error) bool {
return apierrors.IsNotFound(err)
}
// NewFromConfig create Kubernets Interface using REST config
// NewFromConfig create Kubernetes Interface using REST config
func NewFromConfig(cfg *rest.Config) (KubernetesClient, error) {
kubeClient := KubernetesClient{}