meraki_network - Fix enabling my.meraki.com (#45352)
* Fix enabling my.meraki.com
- A parameter of "no" wouldn't be picked up
- Check for False in addition to whether it exists
* Clean up disable_my_meraki parameter check
(cherry picked from commit afbf72cfeb
)
This commit is contained in:
parent
e74a681337
commit
07b87c2ab7
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ def main():
|
|||
payload['tags'] = construct_tags(meraki.params['tags'])
|
||||
if meraki.params['timezone']:
|
||||
payload['timeZone'] = meraki.params['timezone']
|
||||
if meraki.params['disable_my_meraki']:
|
||||
if meraki.params['disable_my_meraki'] is not None:
|
||||
payload['disableMyMerakiCom'] = meraki.params['disable_my_meraki']
|
||||
|
||||
# manipulate or modify the state as needed (this is going to be the
|
||||
|
|
Loading…
Reference in a new issue