grafana / grafonnet

Jsonnet library for generating Grafana dashboards.
https://grafana.github.io/grafonnet/
Apache License 2.0
320 stars 18 forks source link

Field does not exist: multi #171

Closed mvh77 closed 3 months ago

mvh77 commented 4 months ago

Hi! I get:

RUNTIME ERROR: Field does not exist: multi
        vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.2.0/custom/dashboard/variable.libsonnet:100:18-28 function <anonymous>
        vendor/github.com/grafana/grafonnet/gen/grafonnet-v10.2.0/custom/dashboard/variable.libsonnet:106:21-31 object <anonymous>
        Field "text"    
        Field "current" 
        Array element 3 
        Field "list"    
        Field "templating"      
        During manifestation 

the self.multi seems fishy: https://github.com/grafana/grafonnet/blob/fe65a22df6d3a897729fff47cff599805a2c5710/gen/grafonnet-v10.2.0/custom/dashboard/variable.libsonnet#L98-L109

Duologic commented 4 months ago

Thanks for this, I had a tab open to write this issue out.