mirror of https://github.com/grafana/loki
gcs client: use fake credentials in unit test (#5834)
* gcs client: use fake credentials in unit test 'insecure' mode is only used in unit tests, so I piggy-backed on that to set a fake API key. This avoids the GCS library looking up credentials from the user's environment and possibly contacting Google servers, as described at https://cloud.google.com/docs/authentication/production * Comment Co-authored-by: Owen Diehl <ow.diehl@gmail.com> Co-authored-by: Owen Diehl <ow.diehl@gmail.com>pull/5692/head^2
parent
1329ea165c
commit
c0cc004333
Loading…
Reference in new issue