Skip to content

Commit

Permalink
Remove S3 environment variables as required. If you are using an
Browse files Browse the repository at this point in the history
EC2 instance profile these are not required.
  • Loading branch information
pshima committed Apr 28, 2016
1 parent ca9f006 commit 06ad865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func setEnvVars(conf *Config) error {
conf.TmpDir = "/tmp"
}

envChecks := []string{conf.S3Bucket, conf.S3Region, conf.S3AccessKey, conf.S3SecretKey, backupInterval}
envChecks := []string{conf.S3Bucket, conf.S3Region, backupInterval}
if checkEmpty(envChecks) == false {
log.Fatal("[ERR] Required env var missing, exiting")
}
Expand Down

0 comments on commit 06ad865

Please sign in to comment.