Prefix env vars w/ 'DIGITALOCEAN_'

This commit is contained in:
Andrew Starr-Bochicchio 2019-02-11 18:20:35 -05:00
parent c0c5c6afac
commit 203b6ca8b4
1 changed files with 2 additions and 2 deletions

View File

@ -81,11 +81,11 @@ func (p *PostProcessor) Configure(raws ...interface{}) error {
}
if p.config.SpacesKey == "" {
p.config.SpacesKey = os.Getenv("SPACES_ACCESS_KEY")
p.config.SpacesKey = os.Getenv("DIGITALOCEAN_SPACES_ACCESS_KEY")
}
if p.config.SpacesSecret == "" {
p.config.SpacesSecret = os.Getenv("SPACES_SECRET_KEY")
p.config.SpacesSecret = os.Getenv("DIGITALOCEAN_SPACES_SECRET_KEY")
}
if p.config.APIToken == "" {