Skip to content

Default-label in CredhubEnviornmentRepository should be used only if label is not provided#2581

Merged
ryanjbaxter merged 1 commit intospring-cloud:mainfrom
kvmw:kvmw/credhub-fix
Oct 9, 2024
Merged

Default-label in CredhubEnviornmentRepository should be used only if label is not provided#2581
ryanjbaxter merged 1 commit intospring-cloud:mainfrom
kvmw:kvmw/credhub-fix

Conversation

@kvmw
Copy link
Copy Markdown
Contributor

@kvmw kvmw commented Oct 9, 2024

Unlike default application name and profile, default label should only be used if provided label is null or empty.

I've added a second variation of normalize method which accepts only comma-delimited string without default item.

@kvmw
Copy link
Copy Markdown
Contributor Author

kvmw commented Oct 9, 2024

@ryanjbaxter This was a regression by #2568

Copy link
Copy Markdown
Contributor

@ryanjbaxter ryanjbaxter left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks!

@ryanjbaxter ryanjbaxter added this to the 4.2.0-RC1 milestone Oct 9, 2024
@ryanjbaxter ryanjbaxter merged commit ce3b984 into spring-cloud:main Oct 9, 2024
@kvmw kvmw deleted the kvmw/credhub-fix branch October 17, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants