From 42add2f137428574cbe3153151d68365dafbc634 Mon Sep 17 00:00:00 2001 From: GGabriele Date: Sun, 4 Sep 2016 16:56:46 +0200 Subject: [PATCH] Fixed module structure --- network/nxos/nxos_bgp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/network/nxos/nxos_bgp.py b/network/nxos/nxos_bgp.py index d0209179e9d..025983848d2 100644 --- a/network/nxos/nxos_bgp.py +++ b/network/nxos/nxos_bgp.py @@ -899,10 +899,10 @@ def main(): config=dict(), save=dict(type='bool', default=False) ) - module = get_module(argument_spec=argument_spec, - required_together=[['timer_bgp_hold', + module = get_network_module(argument_spec=argument_spec, + required_together=[['timer_bgp_hold', 'timer_bgp_keepalive']], - supports_check_mode=True) + supports_check_mode=True) state = module.params['state'] args = [