Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: log name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeff07 committed Feb 24, 2022
1 parent f8e0fe3 commit bfa1722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfabric/tools/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def get_log(self, device: str, snapshot_id: str = None):
device = self._validate_device(device, snapshot_id=snapshot_id, log=True)
if not device["sn"]:
return None
return self.get_test_log(device)
return self.get_text_log(device)

def get_text_log(self, device: dict):
res = self.ipf.get("/os/logs/task/" + device["taskKey"])
Expand Down

0 comments on commit bfa1722

Please sign in to comment.