Address G001 in flake8-logging-format 0.7.4

The current release of flake8-logging-format enforces G001 "Logging
statement uses string.format()", so don't do that.

Change-Id: I37eb6450f40943b7a8342429454d7d5d2b8be650
This commit is contained in:
Brian Rosmaita 2022-08-09 10:41:36 -04:00
parent b95831cf7f
commit 636180128d
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ def create_tenant(driver, project_id):
try:
driver.api.tenants.create(name=name)
except dfs_sdk.exceptions.ApiConflictError:
LOG.debug("Tenant {} already exists".format(name))
LOG.debug("Tenant %s already exists", name)
return _format_tenant(name)