You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Maxim Khutornenko (JIRA)" <ji...@apache.org> on 2015/09/02 23:43:46 UTC
[jira] [Created] (AURORA-1475) aurora --bind should throw error if
bound key is not found
Maxim Khutornenko created AURORA-1475:
-----------------------------------------
Summary: aurora --bind should throw error if bound key is not found
Key: AURORA-1475
URL: https://issues.apache.org/jira/browse/AURORA-1475
Project: Aurora
Issue Type: Task
Components: Client
Reporter: Maxim Khutornenko
If my aurora file has this:
class Profile(Struct):
extra_args = Default(String, "")
And I bind with
aurora create -bind profile.extra_args="-debug" path/to/config.aurora
then everything is great. If I change the name in my aurora config to "extra_serving_args" or something, or mistype it on the command line, everything is terrible!
We have static checks for template substitutions within the aurora file, and elsewhere we have static checks for flag values, so let's add some static checks here!
This has been a frustrating and seemingly never-ending source of bugs for us on semantic-tooling, as we bind a lot in our templates.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)