meraki_webhook: Correct usages of variable (#60998)

Changed `wehooks` to `webhooks` in order to fix a typo.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/61009/head
Abhijeet Kasurde 5 years ago committed by GitHub
parent bfa004930a
commit 1c4c2f9519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -283,7 +283,7 @@ def main():
meraki.exit_json(**meraki.result)
if webhook_id is None: # Make sure it is downloaded
if webhooks is None:
wehooks = get_all_webhooks(meraki, net_id)
webhooks = get_all_webhooks(meraki, net_id)
webhook_id = get_webhook_id(meraki.params['name'], webhooks)
if webhook_id is None: # Test to see if it needs to be created
if meraki.check_mode is True:

Loading…
Cancel
Save