return idle status when worker has nothing to do

This commit is contained in:
Murat Kabilov
2017-10-11 15:42:20 +02:00
committed by GitHub
parent 793defef72
commit 8d5faaa5a5
4 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -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
View File
@@ -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"