fix(driver): load_replace_candidate is None, not a stub that raises (NetOrk/netork#2503) #81

Merged
christianmanivong merged 2 commits from fix/no-config-replace into main 2026-11-13 21:39:04 +00:00
Showing only changes of commit de91b1a918 - Show all commits
+1 -2
View File
@@ -1009,8 +1009,7 @@ class LinuxDriver(
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")
#: No config replace: switched off rather than a stub that raises, so asking
#: whether the driver has one says no (NetOrk/netork#2503).
#: No config replace, switched off so a capability check says no (NetOrk/netork#2503).
load_replace_candidate = None # type: ignore[assignment]
def compare_config(self) -> str: