From 4f474cf618d2381d1fa69b5803c04899949a1dca Mon Sep 17 00:00:00 2001 From: colmsnowplow Date: Wed, 3 Aug 2022 11:20:10 +0100 Subject: [PATCH] Remove GoogleServiceAccountB64 from config --- config/config.go | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/config/config.go b/config/config.go index 418ccd4c..9a8ffc78 100644 --- a/config/config.go +++ b/config/config.go @@ -35,16 +35,15 @@ type Config struct { // configurationData for holding all configuration options type configurationData struct { - Source *component `hcl:"source,block" envPrefix:"SOURCE_"` - Target *component `hcl:"target,block" envPrefix:"TARGET_"` - FailureTarget *failureConfig `hcl:"failure_target,block"` - Sentry *sentryConfig `hcl:"sentry,block"` - StatsReceiver *statsConfig `hcl:"stats_receiver,block"` - Transformations []*component `hcl:"transform,block"` - LogLevel string `hcl:"log_level,optional" env:"LOG_LEVEL"` - GoogleServiceAccountB64 string `hcl:"google_application_credentials_b64,optional" env:"GOOGLE_APPLICATION_CREDENTIALS_B64"` - UserProvidedID string `hcl:"user_provided_id,optional" env:"USER_PROVIDED_ID"` - DisableTelemetry bool `hcl:"disable_telemetry,optional" env:"DISABLE_TELEMETRY"` + Source *component `hcl:"source,block" envPrefix:"SOURCE_"` + Target *component `hcl:"target,block" envPrefix:"TARGET_"` + FailureTarget *failureConfig `hcl:"failure_target,block"` + Sentry *sentryConfig `hcl:"sentry,block"` + StatsReceiver *statsConfig `hcl:"stats_receiver,block"` + Transformations []*component `hcl:"transform,block"` + LogLevel string `hcl:"log_level,optional" env:"LOG_LEVEL"` + UserProvidedID string `hcl:"user_provided_id,optional" env:"USER_PROVIDED_ID"` + DisableTelemetry bool `hcl:"disable_telemetry,optional" env:"DISABLE_TELEMETRY"` } // component is a type to abstract over configuration blocks.