mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-20 06:00:44 +00:00
Fixed getIntegerFromPropertyOrEnvironment, when it gets a value from env (was parsing the prop value instead); added tests on getIntegerFromPropertyOrEnvironment
This commit is contained in:
@ -347,7 +347,7 @@ public class QMetaDataVariableInterpreter
|
||||
if(canParseAsInteger(envValue))
|
||||
{
|
||||
LOG.info("Read env var [" + environmentVariableName + "] as integer " + environmentVariableName);
|
||||
return (Integer.parseInt(propertyValue));
|
||||
return (Integer.parseInt(envValue));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user