fix(driver): load_replace_candidate is None, not a stub that raises (NetOrk/netork#2503) #81
@@ -1009,8 +1009,7 @@ class LinuxDriver(
|
|||||||
def load_merge_candidate(self, filename: str = None, config: str = None) -> None: # type: ignore[override]
|
def load_merge_candidate(self, filename: str = None, config: str = None) -> None: # type: ignore[override]
|
||||||
raise NotImplementedError("Config management is not supported for Linux hosts")
|
raise NotImplementedError("Config management is not supported for Linux hosts")
|
||||||
|
|
||||||
#: No config replace: switched off rather than a stub that raises, so asking
|
#: No config replace, switched off so a capability check says no (NetOrk/netork#2503).
|
||||||
#: whether the driver has one says no (NetOrk/netork#2503).
|
|
||||||
load_replace_candidate = None # type: ignore[assignment]
|
load_replace_candidate = None # type: ignore[assignment]
|
||||||
|
|
||||||
def compare_config(self) -> str:
|
def compare_config(self) -> str:
|
||||||
|
|||||||
Reference in new issue
Block a user