We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 381139d + 9ad6d59 commit 767d513Copy full SHA for 767d513
1 file changed
src/pubtools/pulplib/_impl/client/poller.py
@@ -211,8 +211,10 @@ def log_if_inactive(self):
211
# We've been idle for too long, log a message to confirm we're not dead
212
search_url = os.path.join(self.url, "pulp/api/v2/tasks/search/")
213
search = {
214
- "criteria": {"filters": {"state": {"$in": ["running", "waiting"]}}},
215
- "fields": ["state"],
+ "criteria": {
+ "filters": {"state": {"$in": ["running", "waiting"]}},
216
+ "fields": ["state"],
217
+ }
218
}
219
220
response = self.session.post(search_url, json=search)
0 commit comments