Skip to content

Commit

Permalink
logging work pool instead of worker (#10309)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillRaphaelson authored Aug 16, 2023
1 parent be4ad1e commit b271470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prefect/workers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,9 +652,9 @@ async def _update_local_work_pool_info(self):
work_pool = await self._client.create_work_pool(
work_pool=WorkPoolCreate(name=self._work_pool_name, type=self.type)
)
self._logger.info(f"Worker pool {self._work_pool_name!r} created.")
self._logger.info(f"Work pool {self._work_pool_name!r} created.")
else:
self._logger.warning(f"Worker pool {self._work_pool_name!r} not found!")
self._logger.warning(f"Work pool {self._work_pool_name!r} not found!")
return

# if the remote config type changes (or if it's being loaded for the
Expand Down

0 comments on commit b271470

Please sign in to comment.