Skip to content

Commit

Permalink
Remove Validation for using a different bundle for release bits
Browse files Browse the repository at this point in the history
This PR remove the validation of bundle version check and error out
in case it doesn't match with crc release bit bundle version.

Just a warn message displayed to user in case use of different bundle.
  • Loading branch information
praveenkumar committed Sep 13, 2022
1 parent dda5320 commit e16d1ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/crc/validation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ func ValidateBundlePath(bundlePath string, preset crcpreset.Preset) error {
logging.Warnf("Using custom bundle %s", userProvidedBundle)
return nil
}
if !constants.IsRelease() {
logging.Warnf("Using unsupported bundle %s", userProvidedBundle)
return nil
}
return fmt.Errorf("%s is not supported by this crc executable, please use %s", userProvidedBundle, constants.GetDefaultBundle(preset))
logging.Warnf("Using %s bundle, but %s is expected for this release", userProvidedBundle, constants.GetDefaultBundle(preset))
}
return nil
}
Expand Down

0 comments on commit e16d1ad

Please sign in to comment.