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

go-jsonnet windows version is not compatible with grafonnet #786

Open
ACCRT opened this issue Feb 20, 2025 · 0 comments
Open

go-jsonnet windows version is not compatible with grafonnet #786

ACCRT opened this issue Feb 20, 2025 · 0 comments

Comments

@ACCRT
Copy link

ACCRT commented Feb 20, 2025

Until v0.20.0, go-jsonnet windows x86-64 does not support blank line within |||. e.g.

annotation.libsonnet

  '#withAnnotations':
    d.func.new(
      |||
        `withAnnotations` adds an array of annotations to a dashboard.

        This function appends passed data to existing values
      |||,
      args=[d.arg('value', d.T.array)]
    ),

will result in Text block not terminated with |||

This makes it imcompatible with grafonnet.

It seems this problem has been raised long time ago, but it seems still a problem on windows.
Allow empty lines in multi-line blocks

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

No branches or pull requests

1 participant