only print warning and keep deleting objects

This commit is contained in:
Tuna
2016-09-02 10:10:48 +07:00
parent aafba39a42
commit f2769066ca
3 changed files with 8 additions and 84 deletions
-12
View File
@@ -239,18 +239,6 @@ func Down(c *cli.Context) {
validateFlags(opt, false, dabFile, inputFile)
if c.BoolT("all") {
if len(file) > 0 && file != "docker-compose.yml" {
logrus.Fatalf("Error: --file/--bundle and --all cannot be specified at the same time")
}
fmt.Print("Are you sure? (yes/no): ")
if !askForConfirmation() {
return
}
kubernetes.DeleteAll(client)
return
}
// loader parses input from file into komposeObject.
var l loader.Loader
switch inputFormat {