mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2025-07-17 21:04:25 +02:00
Left hint
This commit is contained in:
parent
18d6136de0
commit
8c4ae60a6a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user