Skip to content

Commit 1e8ea54

Browse files
authored
Merge pull request #56 from annetutil/fix/annet_apply
fix: passing path to annet rulebook.common.apply
2 parents 4c56b57 + 8ce7c83 commit 1e8ea54

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/gnetcli_adapter/gnetcli_adapter.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,10 @@ def apply_deploy_rulebook(
533533
res = apply_deploy_rulebook(hw=hw, cmd_paths=cmd_paths, do_finalize=do_finalize, do_commit=do_commit)
534534
return res
535535

536-
def build_configuration_cmdlist(self, hw: HardwareView, do_finalize: bool = True, do_commit: bool = True):
537-
res = common.apply(hw, do_commit=do_commit, do_finalize=do_finalize)
536+
def build_configuration_cmdlist(
537+
self, hw: HardwareView, do_finalize: bool = True, do_commit: bool = True, path: str = None,
538+
):
539+
res = common.apply(hw, do_commit=do_commit, do_finalize=do_finalize, path=path)
538540
return res
539541

540542
def build_exit_cmdlist(self, hw: HardwareView) -> CommandList:

0 commit comments

Comments
 (0)