replace . for hash on names databases

This commit is contained in:
Jorge Pastor 2024-04-10 12:07:50 +02:00
parent ba1ceede15
commit ee7cf07294
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class MysqlDisk(ServiceMonitor):
def get_context(self, db):
context = {
'db_name': db.name,
'db_dirname': db.name.replace('-', '@002d'),
'db_dirname': db.name.replace('-', '@002d').replace('.', '@002e'),
'db_id': db.pk,
'db_type': db.type,
}