Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We addressed an issue where the
bridge
flag was ignored when we used it likebridge --all
. So, in this PR, we ensure all flags must start with--
.Changes
Added a statement on
RunE
to check if all of the used flags to run the app are started with--FLAG
.Nodes audience
No need to modify any nodes and service file. It just prevents the app from starting with a wrong flag that would be ignored.
Checklist
Cross repository changes
Testing
Manual tests
Head to the repository path, then run the app:
The response is: