Skip to content

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

Open
@ACCRT

Description

@ACCRT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions