You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do think this should error/throw an exception though if an env variable is not substituted. It would be consistent with the cf cli behavior, which is I think what we should strive for with the operations library (it's higher level).
> cf push
Expected to find variables: foo
FAILED
It may not be specifically listed as invalid to have an app name including ((foo)) but the flip side is that if you have an env variable set and accidentally forget to set it to something that could have ramifications as well. Maybe you push the app with the wrong name or wrong route or wrong service bound. It's safer to throw an error/exception and let the user handle that.
You as a user could simply catch that exception and ignore it, if you don't care, but you can't do the opposite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Add functionality Variables to a Manifest in ApplicationManifestUtils