We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a97e1 commit 6d6d1ccCopy full SHA for 6d6d1cc
1 file changed
pkg/commands/compute/setup/products.go
@@ -346,6 +346,18 @@ func (p *Products) Configure() error {
346
347
// Create calls the relevant API to create the service resource(s).
348
func (p *Products) Create() error {
349
+ anyEnabled := false
350
+ for _, spec := range productsSpecs {
351
+ product := normalizeIfacePtr(spec.getConfiguredProduct(&p.required))
352
+ if product != nil && product.Enabled() {
353
+ anyEnabled = true
354
+ break
355
+ }
356
357
+ if !anyEnabled {
358
+ return nil
359
360
+
361
if p.Spinner == nil {
362
return fsterrors.RemediationError{
363
Inner: fmt.Errorf("internal logic error: no spinner configured for setup.Products"),
0 commit comments