backport: env: add bash-style default value operator :-#11806
Conversation
Signed-off-by: benjaminmueggenburg-serato <benjamin.mueggenburg@serato.com>
Signed-off-by: benjaminmueggenburg-serato <benjamin.mueggenburg@serato.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Backport to 4.2 of #11787
The below description is a copy from that PR, however, test output has been reran on this 4.2 backport.
Adds the familiar bash-style default value operator
:-.Now inside configuration files
${VALUE:-default}will resolve todefaultif VALUE variable is not set (os or locally) or is empty ''.Addresses #5517
Configuration example
Expand
Checklist (maintainers)
Debug / stdout
Unset
TEST_ZONESet
TEST_ZONE=eu-east-1:Unit tests
Valgrind summary / log tail
Command:
Valgrind tail:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-testlabel to test for all targets (requires maintainer to do).Documentation
fluent/fluent-bit-docs#2568
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.