Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jun 29, 2023
1 parent 8067371 commit 5357d61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/relations/deprecated_shared_db_database_provides.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

class LogPrefix(logging.LoggerAdapter):
"""Add prefix to all log messages"""

def process(self, msg, kwargs):
return f"[DEPRECATED shared-db] {msg}", kwargs

Expand Down
6 changes: 1 addition & 5 deletions tests/integration/test_shared_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ async def test_shared_db(ops_test: OpsTest, mysql_router_charm_series: str):
"mysql", channel="8.0/edge", application_name=MYSQL_APP_NAME, num_units=1
)
keystone_app = await ops_test.model.deploy(
"keystone",
channel="yoga/stable",
application_name=KEYSTONE_APP_NAME,
series=mysql_router_charm_series,
num_units=2,
"keystone", application_name=KEYSTONE_APP_NAME, series="focal", num_units=2
)
# MySQLRouter is a subordinate charm, and thus needs to be deployed with no units
# Instead, they will be deployed with the keystone units when related with the keystone app
Expand Down

0 comments on commit 5357d61

Please sign in to comment.