Skip to content

Commit 7629913

Browse files
panyamkeerthanaowtaylor
authored andcommitted
supervisor:clarify SearchResultsdbTool usage
updated SearchResultsdbTool description to only be used when test_result_location indicates that test results will be in resultsdb.
1 parent d13784d commit 7629913

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

supervisor/tools/search_resultsdb.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,11 @@ class SearchResultsdbTool(
131131
"""
132132

133133
name = "search_resultsdb" # type: ignore
134-
description = "Search for results for a specific package build in resultsdb" # type: ignore
134+
description = (
135+
"Search for results for a specific package build in resultsdb. "
136+
"Only use this tool if the test_result_location field of "
137+
"TEST_LOCATION_INFO indicates that test results will be in resultsdb."
138+
) # type: ignore
135139
input_schema = SearchResultsdbInput # type: ignore
136140

137141
def _create_emitter(self) -> Emitter:

0 commit comments

Comments
 (0)