Enable returning error when configurations in the input data are not in standardized format
everjing opened this issue · 0 comments
everjing commented
Currently binary returns "[]" when configurations in the input data are not in standardized format,
such as
targets:
- paths:
- ./data
policies: - ./policy
- ./data
instead of
files:
- paths:
- ./data
policies: - ./policy
- ./data
It is recommended to invoke a check loaded configurations from input data against standardized input format and return error when the two are not matching.