Merge pull request #12104 from ieQu1/dev/gcp-logs

fix(bridge_gcp): Don't print config to the logs
This commit is contained in:
ieQu1 2023-12-05 17:15:11 +01:00 committed by GitHub
commit 2a50ec3f7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ query_mode(_Config) -> async.
on_start(InstanceId, Config0) ->
?SLOG(info, #{
msg => "starting_gcp_pubsub_bridge",
config => Config0
instance_id => InstanceId
}),
Config = maps:update_with(service_account_json, fun emqx_utils_maps:binary_key_map/1, Config0),
#{service_account_json := #{<<"project_id">> := ProjectId}} = Config,