Meraki: Fixed line 174 changed from None to the actual net_id… (#59395)

* Fixed line 174 changed from None to the actual net_id variable

* Update meraki_content_filtering.py

* Create 59395_meraki_content_filtering.yaml
This commit is contained in:
borborpa 2019-12-18 12:10:16 -05:00 committed by Nathaniel Case
parent 9fafbe3ab2
commit 71ea16995a
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- meraki_content_filtering.py - Fixed to use net_id veraible instead static value of None.

View file

@ -171,7 +171,7 @@ def main():
org_id = meraki.params['org_id']
if not org_id:
org_id = meraki.get_org_id(meraki.params['org_name'])
net_id = None
net_id = meraki.params['net_id']
if net_id is None:
nets = meraki.get_nets(org_id=org_id)
net_id = meraki.get_net_id(org_id, meraki.params['net_name'], data=nets)