Use librecipe FALSE_VALUES

parent dee790f0
...@@ -57,7 +57,7 @@ class Recipe(GenericBaseRecipe): ...@@ -57,7 +57,7 @@ class Recipe(GenericBaseRecipe):
# Check if target is https or http # Check if target is https or http
current_slave_dict['https'] = slave_instance.get('https', 'true') current_slave_dict['https'] = slave_instance.get('https', 'true')
if current_slave_dict['https'] in FALSE_VALUE_LIST: if current_slave_dict['https'] in GenericBaseRecipe.FALSE_VALUES:
current_slave_dict['https'] = 'false' current_slave_dict['https'] = 'false'
# Set reference and resource url # Set reference and resource url
# Reference is raw reference from SlapOS Master, resource is # Reference is raw reference from SlapOS Master, resource is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment