Skip to content

check supportedVersions list rather than directly reading from version map#1003

Merged
bobcallaway merged 2 commits intosigstore:mainfrom
bobcallaway:supportedVersion
Aug 26, 2022
Merged

check supportedVersions list rather than directly reading from version map#1003
bobcallaway merged 2 commits intosigstore:mainfrom
bobcallaway:supportedVersion

Conversation

@bobcallaway
Copy link
Copy Markdown
Member

The CLI type verification logic read directly from the version specific map, rather than the SupportedVersions method allowing types to control this explicitly.

Also added unit tests for ParseTypeFlag

Signed-off-by: Bob Callaway bcallaway@google.com

…n map

Signed-off-by: Bob Callaway <bcallaway@google.com>
@bobcallaway bobcallaway requested a review from a team as a code owner August 26, 2022 13:45
dlorenc
dlorenc previously approved these changes Aug 26, 2022
…aller

Signed-off-by: Bob Callaway <bcallaway@google.com>
@bobcallaway bobcallaway merged commit 557cb32 into sigstore:main Aug 26, 2022
@github-actions github-actions bot added this to the v1.0.0 milestone Aug 26, 2022
@bobcallaway bobcallaway mentioned this pull request Aug 26, 2022
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

Successfully merging this pull request may close these issues.

3 participants