diff --git a/provider/kubernetes/force_update.go b/provider/kubernetes/force_update.go index 7607bf4c..278ef48a 100644 --- a/provider/kubernetes/force_update.go +++ b/provider/kubernetes/force_update.go @@ -53,7 +53,7 @@ func (p *Provider) forceUpdate(deployment *v1beta1.Deployment) (err error) { }).Error("provider.kubernetes: got error while deleting a pod") } - time.Sleep(podDeleteDelay) + time.Sleep(time.Duration(podDeleteDelay)) } return nil