internal/config: change default database driver to pgx
As CL 304630 merged, we change the database driver to pgx, this CL
change the default driver value in config.go.
Run-TryBot: Baokun Lee
TryBot-Result: kokoro
Trust: Baokun Lee
@@ -366,7 +366,7 @@ func Init(ctx context.Context) (_ *Config, err error) {
DBPort: GetEnv("GO_DISCOVERY_DATABASE_PORT", "5432"),
DBName: GetEnv("GO_DISCOVERY_DATABASE_NAME", "discovery-db"),
DBSecret: os.Getenv("GO_DISCOVERY_DATABASE_SECRET"),
- DBDriver: GetEnv("GO_DISCOVERY_DATABASE_DRIVER", "postgres"),
+ DBDriver: GetEnv("GO_DISCOVERY_DATABASE_DRIVER", "pgx"),
RedisCacheHost: os.Getenv("GO_DISCOVERY_REDIS_HOST"),
RedisCachePort: GetEnv("GO_DISCOVERY_REDIS_PORT", "6379"),
RedisHAHost: os.Getenv("GO_DISCOVERY_REDIS_HA_HOST"),
