Skip to content

Commit

Permalink
Nir fix redis cf overide (#785)
Browse files Browse the repository at this point in the history
Fix cf override for Redis configuration
  • Loading branch information
nirbenrey committed Aug 15, 2022
1 parent 328a7c8 commit e974ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/env/cf.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func useRedisBinding(env Environment, cfEnv *cfenv.App) error {
return fmt.Errorf(errorMessage)
}

env.Set("cache.hostname", service.Credentials["hostname"])
env.Set("cache.host", service.Credentials["hostname"])
env.Set("cache.password", service.Credentials["password"])
env.Set("cache.port", service.Credentials["port"])
return nil
Expand Down

0 comments on commit e974ceb

Please sign in to comment.