Remove failure check from deployment controller

Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
This commit is contained in:
Michail Kargakis
2017-08-03 18:49:16 +02:00
parent 928cf542d2
commit 55339f30ac
2 changed files with 0 additions and 53 deletions

View File

@@ -620,14 +620,6 @@ func (dc *DeploymentController) syncDeployment(key string) error {
return err
}
_, err = dc.hasFailed(d, rsList, podMap)
if err != nil {
return err
}
// TODO: Automatically rollback here if we failed above. Locate the last complete
// revision and populate the rollback spec with it.
// See https://github.com/kubernetes/kubernetes/issues/23211.
if d.Spec.Paused {
return dc.sync(d, rsList, podMap)
}