mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 18:22:09 +02:00
return idle status when worker has nothing to do
This commit is contained in:
@@ -73,7 +73,7 @@ type Cluster struct {
|
||||
teamsAPIClient *teams.API
|
||||
KubeClient k8sutil.KubernetesClient //TODO: move clients to the better place?
|
||||
currentProcess spec.Process
|
||||
processMu sync.RWMutex
|
||||
processMu sync.RWMutex
|
||||
}
|
||||
|
||||
type compareStatefulsetResult struct {
|
||||
|
||||
+1
-1
@@ -2,8 +2,8 @@ package cluster
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"strings"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
remotecommandconsts "k8s.io/apimachinery/pkg/util/remotecommand"
|
||||
|
||||
Reference in New Issue
Block a user