laetho/metagraf

JVM_SYS_PROP's that are optional without value end up in environment variable.

Closed this issue · 1 comments

A JVM_SYS_PROP options that is optional (not required) ends up in a generated environment variable of type JVM_SYS_PROP. It should not, unless it's configured with a value.

...
{
  "name": "JVM_SYS_PROP",
  "type": "JVM_SYS_PROP",
  "description": "JVM system properties",
  "options": [
    {
      "name": "my.property",
      "required": false,
      "description": "A property",
      "type": "string"
    },
  ]
}
...

The entry for the above property should never have generated through, mg generate properties metagraf.json:

JVM_SYS_PROP|my.property=

This problem is resolved in version v0.0.39