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

This commit is contained in:
Nathaniel Case 2019-05-09 08:03:47 -04:00 committed by Nilashish Chakraborty
parent f9589bd4b1
commit ea41bbcd4e

View file

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