Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ def _restore_flow(
reload_action_map = self._prepare_reload_act_map()

if restore_method == "override":
if self._cli_handler.cli_type.lower() != "console":
if self._cli_handler._cli_type.lower() != "console":
raise Exception(
self.__class__.__name__,
"Unsupported cli session type: {0}. "
"Only Console allowed for restore override".format(
self._cli_handler.cli_type.lower()
self._cli_handler._cli_type.lower()
),
)

Expand Down Expand Up @@ -81,7 +80,6 @@ def _restore_flow(

elif "startup" in configuration_type:
raise Exception(
self.__class__.__name__,
"Restore of startup config in append mode is not supported",
)
else:
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.0
6.0.1