mirror of
https://github.com/kevinveenbirkenbach/docker-volume-backup.git
synced 2025-07-18 05:14:24 +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.
|
# 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.
|
# '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']:
|
if container in ['central-mariadb', 'central-postgres']:
|
||||||
instance_name = container
|
instance_name = container
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user