Kompose will keep trying its job

fixes #270

all errors in undeploy method(both kubernetes and openshift) are appended in a slice of errors,
and then it will be returned after successful deletion of all components.
This commit is contained in:
Suraj Narwade
2017-03-31 14:14:14 +05:30
parent eead1cb8f7
commit 80b15c1d95
4 changed files with 50 additions and 40 deletions
+1 -1
View File
@@ -28,5 +28,5 @@ type Transformer interface {
// Deploy deploys KomposeObject to provider
Deploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) error
// Undeploy deletes/undeploys KomposeObject from provider
Undeploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) error
Undeploy(komposeObject kobject.KomposeObject, opt kobject.ConvertOptions) []error
}