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

Adjust logic for deriving collectionLevel from metadata #27624

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

cemms1
Copy link
Contributor

@cemms1 cemms1 commented Nov 20, 2024

What does this change?

When testing the gl/collection-level branch on CODE, it wasn't deriving the "Primary" collectionLevel value as expected.

This PR ensures that when config.metadata is None (ie the container has no tags set), it is treated appropriately and returns "Primary" rather than None

This PR also prevents the "Secondary" containerLevel from being applied to non beta collections, which is probably safer for now

@cemms1 cemms1 self-assigned this Nov 20, 2024
@cemms1 cemms1 requested a review from Georges-GNM November 20, 2024 10:26
@cemms1 cemms1 marked this pull request as ready for review November 20, 2024 10:26
@cemms1 cemms1 requested a review from a team as a code owner November 20, 2024 10:26
Copy link
Contributor

@Georges-GNM Georges-GNM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff 👏

@cemms1 cemms1 merged commit b645e1b into gl/collection-level Nov 20, 2024
3 checks passed
@cemms1 cemms1 deleted the cemms1/collection-level-logic branch November 20, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants