refactor: use f-strings in docker compute modules

This commit is contained in:
Mark Paronyan committed 2026-10-03 19:44:00 +03:00
1 parent 72fae7a1ce
commit 7f2c0c7e9c
3 files changed
+39 -117

No files matched your search

+2 -2
View File
@@ -178,9 +178,9 @@ class Docker(BaseManager):
else:
# use the Min API version supported by the daemon
self._api_version = docker_info["MinAPIVersion"]
log.warning("Using Docker client with the minimum API version {}".format(self._api_version))
log.warning(f"Using Docker client with the minimum API version {self._api_version}")
log.info("Connected to Docker daemon version {} using API version {}".format(version, self._api_version))
log.info(f"Connected to Docker daemon version {version} using API version {self._api_version}")
self._check_host_readiness()
def _check_host_readiness(self):