Actions
Bug #9106
closedIf properties.d doesn't exists, cf-promises fails with an "error 'cf_null'"
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
We added a feature that allows to load all json in cf-enfine agent sys sub directory "properties.d".
If that directory doesn't exists, cf-promise fails with the message:
error: readjson: data error parsing JSON file 'cf_null': No data
The culprit seems to be inputs.new/common/1.0/properties.cf:
"properties_files" slist => findfiles("${sys.workdir}/inputs/properties.d/*.json");
We need to just assume there is not properties to load if that directory is missing.
Actions