mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-09-22 12:11:15 +00:00
Fix sanitized_test, Add str return to candidate
Change the expected results of sanitized test. If candidate config is None return empty string
This commit is contained in:
@@ -941,7 +941,7 @@ class VyOSDriver(NetworkDriver):
|
||||
if retrieve in ["startup", "all"]:
|
||||
config_dict['startup'] = self.device.send_command(f"cat {self._BOOT_FILENAME}")
|
||||
if retrieve in ["candidate", "all"]:
|
||||
config_dict['candidate'] = self._new_config
|
||||
config_dict['candidate'] = self._new_config or ""
|
||||
|
||||
return config_dict
|
||||
|
||||
|
||||
Reference in New Issue
Block a user