We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a97e1 commit ddf9b80Copy full SHA for ddf9b80
1 file changed
pkg/commands/compute/setup/products.go
@@ -346,6 +346,19 @@ 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
+
350
+ anyEnabled := false
351
+ for _, spec := range productsSpecs {
352
+ product := normalizeIfacePtr(spec.getConfiguredProduct(&p.required))
353
+ if product != nil && product.Enabled() {
354
+ anyEnabled = true
355
+ break
356
+ }
357
358
+ if !anyEnabled {
359
+ return nil
360
361
362
if p.Spinner == nil {
363
return fsterrors.RemediationError{
364
Inner: fmt.Errorf("internal logic error: no spinner configured for setup.Products"),
0 commit comments