mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-07 07:32:58 +02:00
Avoid orphaned objects on delete (#654)
* Make setSpec function work correctly when updating cluster status fails
This commit is contained in:
committed by
Sergey Dudoladov
parent
fd6a2454e8
commit
4a863d2280
@@ -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{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user