graysonhead / runcible

Declarative Automation for Network Engineers
GNU General Public License v3.0
3 stars 2 forks source link

Fix inconsistency in fix_need(s) method names for modules vs module_arrays #7

Open graysonhead opened 5 years ago

graysonhead commented 5 years ago

modules call this method "fix_needs" and receive a list of needs, wheras sub_modules receive a single need at a time and the method is called "fix_need".

These sub_module's logic should be adjusted so that it functions in the same way as a regular module for logical consistency. This will also mean adjusting the behavior of all sub_providers.