prometheus/cmd/promtool
Filip Petkovski 5849521e90
promtool: Fix credentials file check (#9883)
The promtool check config command still uses the bearer_token_file
field which is deprecated in favour of authorization.credentials_file.

This commit modifies the command to use the new field insted.

Fixes #9874

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
2021-11-30 15:02:07 +11:00
..
testdata promtool: Fix credentials file check (#9883) 2021-11-30 15:02:07 +11:00
archive.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
backfill_test.go cmd: use t.TempDir instead of ioutil.TempDir on tests (#9852) 2021-11-23 20:09:28 -05:00
backfill.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
debug.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
main_test.go promtool: Fix credentials file check (#9883) 2021-11-30 15:02:07 +11:00
main.go promtool: Fix credentials file check (#9883) 2021-11-30 15:02:07 +11:00
rules_test.go cmd: use t.TempDir instead of ioutil.TempDir on tests (#9852) 2021-11-23 20:09:28 -05:00
rules.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
sd_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
sd.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
tsdb.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
unittest_test.go Promtool: Add feature flags to unit tests (#8958) 2021-06-30 22:43:39 +01:00
unittest.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00