Don't detect update if vrf not set. (#56235)

pull/56268/head
Nathaniel Case 6 years ago committed by Nilashish Chakraborty
parent f9589bd4b1
commit ea41bbcd4e

@ -299,7 +299,7 @@ def map_config_to_obj(module):
'local_http': out[0]['localHttpServer']['configured'], 'local_http': out[0]['localHttpServer']['configured'],
'local_http_port': out[0]['localHttpServer']['port'], 'local_http_port': out[0]['localHttpServer']['port'],
'socket': out[0]['unixSocketServer']['configured'], 'socket': out[0]['unixSocketServer']['configured'],
'vrf': out[0]['vrf'], 'vrf': out[0]['vrf'] or "default",
'state': parse_state(out) 'state': parse_state(out)
} }

Loading…
Cancel
Save