delete cvm-filter configuration
This commit is contained in:
parent
ecfce6ef4c
commit
22b49c1a92
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue