Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Silently defaults to latest module version if invalid version is passed #298

Open
daniel-butler-irl opened this issue Jan 18, 2023 · 0 comments

Comments

@daniel-butler-irl
Copy link

If you pass an invalid module version it appears to silently replace the version with the latest. I think it should throw an error and at the very least give a warning.

apiVersion: cloudnativetoolkit.dev/v1alpha1
kind: BillOfMaterial
metadata:
  name: test
spec:
  modules:
    - name: ibm-resource-group
      version: not_a_valid_version

This BOM successfully builds with not warnings, uses the latest version of ibm-resource-group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant