From bba90f21f331cd284f9d7dde51dd95795696aef0 Mon Sep 17 00:00:00 2001 From: Zexi Li Date: Tue, 31 Aug 2021 15:09:02 +0800 Subject: [PATCH] fix(climc): host-delete use batch delete function --- cmd/climc/shell/compute/hosts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/climc/shell/compute/hosts.go b/cmd/climc/shell/compute/hosts.go index 14db80e27a..9956d596a3 100644 --- a/cmd/climc/shell/compute/hosts.go +++ b/cmd/climc/shell/compute/hosts.go @@ -43,7 +43,7 @@ func init() { cmd.Perform("start", &options.BaseIdOptions{}) cmd.Perform("stop", &options.BaseIdOptions{}) cmd.Perform("reset", &options.BaseIdOptions{}) - cmd.Perform("delete", &options.BaseIdOptions{}) + cmd.BatchDelete(&options.BaseIdsOptions{}) cmd.Perform("remove-all-netifs", &options.BaseIdOptions{}) cmd.BatchPerform("enable", &options.BaseIdsOptions{})