Skip to content

Commit

Permalink
ignore errors while deleting ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Oct 16, 2018
1 parent a72df08 commit 40ce29b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion workflows/environment_terminate.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ func (workflow *environmentWorkflow) environmentKubernetesIngressTerminator(envi
return func() error {
log.Noticef("Terminating ingress in environment '%s'", environmentName)

return workflow.kubernetesResourceManager.DeleteResource("v1", "Namespace", "", "mu-ingress")
err := workflow.kubernetesResourceManager.DeleteResource("v1", "Namespace", "", "mu-ingress")
if err != nil {
log.Warningf("Unable to delete namespace 'mu-ingress': %s", err)
}
return nil
}
}

Expand Down

0 comments on commit 40ce29b

Please sign in to comment.