Skip to content

Commit

Permalink
Minor fix to get_config()
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinc13 committed Nov 19, 2020
1 parent 9b20c87 commit 09c89aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napalm_aoscx/aoscx.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ def get_config(self, retrieve="all", full=False):
"candidate": ""
}
if retrieve in ["running", "all"]:
config_dict['running'] = self._get_json_configuration("running-config")
config_dict['running'] = self._get_json_configuration("running-config", **self.session_info)
if retrieve in ["startup", "all"]:
config_dict['startup'] = self._get_json_configuration("startup-config")
config_dict['startup'] = self._get_json_configuration("startup-config", **self.session_info)
if retrieve in ["candidate", "all"]:
config_dict['candidate'] = self.candidate_config

Expand Down

0 comments on commit 09c89aa

Please sign in to comment.