Skip to content

Commit

Permalink
fix #563
Browse files Browse the repository at this point in the history
  • Loading branch information
Teingi committed Nov 21, 2024
1 parent aae5120 commit 3e804c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/gather/gather_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def __handle_log_list(self, ssh, node, resp):
resp["error"] = "Too many files {0} > {1}".format(len(log_list), self.file_number_limit)
return log_list, resp
elif len(log_list) <= 0:
self.stdio.warn('{0} The number of log files is {1}, The time range for file gather from {2} to {3}, and no eligible files were found.' " Please adjust the query time limit.".format(ip, len(log_list), self.from_time_str, self.to_time_str))
self.stdio.warn('[{0}]: No log files that meet the conditions for the time period from {1} to {2} were found at the home_path: {3}'.format(ip, self.from_time_str, self.to_time_str, node.get("home_path")))
resp["skip"] = (True,)
resp["error"] = "No files found"
return log_list, resp
Expand Down

0 comments on commit 3e804c5

Please sign in to comment.