Merge pull request #66474 from jpotier/jpotier-patch-grafana
Fix typo in assert in grafana module
This commit is contained in:
commit
aec8469988
@ -503,12 +503,12 @@ in {
|
|||||||
message = "Cannot set both adminPassword and adminPasswordFile";
|
message = "Cannot set both adminPassword and adminPasswordFile";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
assertion = cfg.security.secretKeyFile != opt.security.secretKeyFile.default -> cfg.security.secretKeyFile == null;
|
assertion = cfg.security.secretKey != opt.security.secretKey.default -> cfg.security.secretKeyFile == null;
|
||||||
message = "Cannot set both secretKey and secretKeyFile";
|
message = "Cannot set both secretKey and secretKeyFile";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
assertion = cfg.smtp.password != opt.smtp.password.default -> cfg.smtp.passwordFile == null;
|
assertion = cfg.smtp.password != opt.smtp.password.default -> cfg.smtp.passwordFile == null;
|
||||||
message = "Cannot set both password and secretKeyFile";
|
message = "Cannot set both password and passwordFile";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user