Skip to content

Commit

Permalink
chore: Update New Relic license key in config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
waveyboym committed Aug 10, 2024
1 parent 71ae7e4 commit 415d071
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 4 deletions.
Binary file modified occupi-backend/configs/centrifugo.config.json.gpg
Binary file not shown.
6 changes: 3 additions & 3 deletions occupi-backend/configs/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const (
CentrifugoAKy = "CENTRIFUGO_API_KEY"
CentrifugoHost = "CENTRIFUGO_HOST"
CentrifugoPort = "CENTRIFUGO_PORT"
ConfigLicense = "CONFIG_LICENSE"
NewRelicAppName = "NEW_RELIC_APP_NAME"
SentryDSN = "SENTRY_DSN"
PassPhrase = "TEST_PASS_PHRASE"
NewRelicLicenseKey = "NEW_RELIC_LICENSE_KEY"
)

// init viper
Expand Down Expand Up @@ -429,9 +429,9 @@ func GetCentrifugoPort() string {

// gets the config license as defined in the config.yaml file
func GetConfigLicense() string {
license := viper.GetString(ConfigLicense)
license := viper.GetString(NewRelicLicenseKey)
if license == "" {
license = "CONFIG_LICENSE"
license = "NEW_RELIC_LICENSE_KEY"
}
return license
}
Expand Down
Binary file modified occupi-backend/configs/config.yaml.gpg
Binary file not shown.
Binary file modified occupi-backend/configs/dev.deployed.yaml.gpg
Binary file not shown.
Binary file modified occupi-backend/configs/dev.localhost.yaml.gpg
Binary file not shown.
Binary file modified occupi-backend/configs/prod.yaml.gpg
Binary file not shown.
Binary file modified occupi-backend/configs/test.yaml.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion occupi-backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/google/uuid v1.6.0
github.com/ipinfo/go/v2 v2.10.0
github.com/microcosm-cc/bluemonday v1.0.26
github.com/newrelic/go-agent/v3 v3.33.1
github.com/newrelic/go-agent/v3 v3.34.0
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/oliveroneill/exponent-server-sdk-golang v0.0.0-20210823140141-d050598be512
github.com/rabbitmq/amqp091-go v1.10.0
Expand Down
2 changes: 2 additions & 0 deletions occupi-backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ github.com/montanaflynn/stats v0.7.1/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt
github.com/newrelic/go-agent/v3 v3.0.0/go.mod h1:H28zDNUC0U/b7kLoY4EFOhuth10Xu/9dchozUiOseQQ=
github.com/newrelic/go-agent/v3 v3.33.1 h1:eWOtty43cyxrMKws4VNPdebgEB6ujFTf0yxPsgB0M80=
github.com/newrelic/go-agent/v3 v3.33.1/go.mod h1:SMdqPzE/ghkWdY0rYGSD7Clw2daK/XH6pUnVd4albg4=
github.com/newrelic/go-agent/v3 v3.34.0 h1:jhtX+YUrAh2ddgPGIixMYq4+nCBrEN4ETGyi2h/zWJw=
github.com/newrelic/go-agent/v3 v3.34.0/go.mod h1:VNsi+XA7YsgF4fHES8l/U6OhAHhU3IdLDFkB/wpevvA=
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzap v1.2.1 h1:3lCXA2z4LfuHJZGWh1VmNWSfb2IGLBbumzX36VI1EK8=
github.com/newrelic/go-agent/v3/integrations/logcontext-v2/nrzap v1.2.1/go.mod h1:RJ3E9Z6nf2oPPhdxtdc9SAPhi8/MHCWZ4onWP9hYkgE=
github.com/newrelic/go-agent/v3/integrations/nrgin v1.3.1 h1:JoIIS37S/tW/6Y/5cGInNA7ngfd2lGsfX0HYh82UOPk=
Expand Down

0 comments on commit 415d071

Please sign in to comment.