Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/node-mixin/dashboards: do not mix tabs and spaces #1532

Merged
merged 1 commit into from
Nov 1, 2019

Conversation

paulfantom
Copy link
Contributor

This is completely breaking node-mixins as jsonnetfmt panics with:

$ jsonnetfmt -i use.libsonnet 
STATIC ERROR: use.libsonnet:20:11: text block syntax requires new line after |||.

/cc @beorn7 @s-urbaniak @metalmatze

@paulfantom paulfantom force-pushed the dont_mix_tabs_and_spaces branch from f015a21 to 4057092 Compare November 1, 2019 14:46
@beorn7
Copy link
Member

beorn7 commented Nov 1, 2019

Sorry, so used to get my jsonnet checked by the CI that I didn't pay attention here.

Thanks!

@beorn7 beorn7 merged commit 20fe5bf into prometheus:master Nov 1, 2019
@paulfantom paulfantom deleted the dont_mix_tabs_and_spaces branch November 1, 2019 15:47
@paulfantom
Copy link
Contributor Author

@beorn7 maybe we should add such check to CI? In prometheus-operator we already build and release a jsonnet-ci container image which contains jsonnetfmt

@beorn7
Copy link
Member

beorn7 commented Nov 1, 2019

Sure, that would be best. And then we should do it for all repos with mixins (currently node-exporter and prometheus, but soon alertmanager, a branch for the latter already exists).

PRs welcome… :o)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants