nixos/prometheus: fix usage of bearer_token

This commit is contained in:
Sandro Jäckel 2022-01-08 20:42:32 +01:00
parent 41d2ab4085
commit 39ce4ddd85
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -252,8 +252,8 @@ let
promTypes.scrape_config = types.submodule {
options = {
authorization = mkOption {
type = types.attrs;
default = {};
type = types.nullOr types.attrs;
default = null;
description = ''
Sets the `Authorization` header on every scrape request with the configured credentials.
'';