jsonnet: fix copy-paste errors, format, and lint

Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
paulfantom 2021-01-13 09:13:35 +01:00
parent 55900d9e1c
commit b4fcf8f6cc
No known key found for this signature in database
GPG Key ID: 12AE0185401674E7
2 changed files with 57 additions and 58 deletions

View File

@ -1,8 +1,7 @@
local defaults = {
local defaults = self,
namespace: error 'must provide namespace',
prometheusName: error 'must provide namespace',
alertmanagerName: error 'must provide namespace',
prometheusName: error 'must provide Prometheus resource name',
alertmanagerName: error 'must provide Alertmanager resource name',
};
function(params) {