mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2025-09-08 03:07:12 +02:00
Left hint
This commit is contained in:
@@ -74,6 +74,7 @@ def get_instance(container):
|
||||
|
||||
# This line uses regular expressions to split the 'container' string.
|
||||
# 're.split' is a method that divides a string into a list, based on the occurrences of a pattern.
|
||||
# @todo add option to pass database names to make it more flexibel
|
||||
if container in ['central-mariadb', 'central-postgres']:
|
||||
instance_name = container
|
||||
else:
|
||||
|
Reference in New Issue
Block a user