fix: Fix AWS S3 and SSH backup in scheduled mode on Docker and Docker Swarm mode

This commit is contained in:
2024-08-04 11:30:03 +02:00
parent e4ca97b99e
commit 1e06600c43
7 changed files with 48 additions and 21 deletions

View File

@@ -42,8 +42,7 @@ func CreateSession() (*session.Session, error) {
err = CheckEnvVars(awsVars)
if err != nil {
Error(fmt.Sprintf("Error checking environment variables\n: %s", err))
os.Exit(1)
Fatal("Error checking environment variables\n: %s", err)
}
// S3 Config
s3Config := &aws.Config{