Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Do not double-prefix cache #402

Merged
merged 1 commit into from
Aug 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/config/admin_server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var _ IssueAPIConfig = (*AdminAPIServerConfig)(nil)
type AdminAPIServerConfig struct {
Database database.Config
Observability observability.Config
Cache cache.Config `env:",prefix=CACHE_"`
Cache cache.Config

// DevMode produces additional debugging information. Do not enable in
// production environments.
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/api_server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
type APIServerConfig struct {
Database database.Config
Observability observability.Config
Cache cache.Config `env:",prefix=CACHE_"`
Cache cache.Config

// DevMode produces additional debugging information. Do not enable in
// production environments.
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type ServerConfig struct {
Firebase FirebaseConfig
Database database.Config
Observability observability.Config
Cache cache.Config `env:",prefix=CACHE_"`
Cache cache.Config

Port string `env:"PORT,default=8080"`

Expand Down