delete cvm-filter configuration

This commit is contained in:
piggona 2020-07-21 10:28:09 +08:00
parent ecfce6ef4c
commit 22b49c1a92
1 changed files with 0 additions and 9 deletions

View File

@ -32,15 +32,6 @@ func (s *stepCheckSourceImage) Run(ctx context.Context, state multistep.StateBag
if err != nil {
return Halt(state, fmt.Errorf("regex compilation error"), "Bad input")
}
// private := "PRIVATE_IMAGE"
// public := "PUBLIC_IMAGE"
// shared := "SHARED_IMAGE"
// filterType := "image-type"
// filter := &cvm.Filter{
// Name: &filterType,
// Values: []*string{&private, &public, &shared},
// }
// req.Filters = []*cvm.Filter{filter}
}
var resp *cvm.DescribeImagesResponse
err = Retry(ctx, func(ctx context.Context) error {