Skip syncing Pods

This commit is contained in:
Murat Kabilov
2017-05-12 11:41:33 +02:00
parent 655f6dcadb
commit db53134cbd
6 changed files with 7 additions and 124 deletions
-3
View File
@@ -190,9 +190,6 @@ func (c *Cluster) recreatePods() error {
var masterPod v1.Pod
for _, pod := range pods.Items {
role := util.PodSpiloRole(&pod)
if role == "" {
continue
}
if role == constants.PodRoleMaster {
masterPod = pod