mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +02:00
refactor: use f-strings in docker compute modules
This commit is contained in:
3 files changed
+39
-117
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user