Skip to content

Commit

Permalink
fix: LogAnalyzer init output
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Jan 18, 2024
1 parent b6ced46 commit 0758c18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asadm.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ async def __init__(
cmd.Cmd.__init__(self)

try:
if mode == AdminMode.LOG_ANALYZER:
if not log_path:
log_path = " "
if log_path:
log_path = log_path.strip()

if mode == AdminMode.LOG_ANALYZER:
self.ctrl = LogAnalyzerRootController(admin_version, log_path)

elif mode == AdminMode.COLLECTINFO_ANALYZER:
Expand Down

0 comments on commit 0758c18

Please sign in to comment.