nixos/graphite: fix escape

This commit is contained in:
volth 2019-09-17 00:19:28 +00:00 committed by GitHub
parent 1aadcee68a
commit fbd2b55715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ in {
description = "Any metrics received which match one of the experssions will be dropped.";
default = null;
type = types.nullOr types.str;
example = "^some\.noisy\.metric\.prefix\..*";
example = "^some\\.noisy\\.metric\\.prefix\\..*";
};
whitelist = mkOption {