mirror of
				https://github.com/kevinveenbirkenbach/docker-volume-backup.git
				synced 2025-11-04 10:38:00 +00: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.
 | 
					    # 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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user