Use absolute jsonnet import paths

This should be the way forward when importing libraries in jsonnet. It's
closer to how Go imports look and makes it more obvious where packages
live.

This is not breaking anything, as the old imports were already symlinks
to the now directly used directories.

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
pull/8083/head
Matthias Loibl 4 years ago
parent 2fe1e9fa93
commit 13ba013a24
No known key found for this signature in database
GPG Key ID: 78A796CA74CA38BA

@ -1,5 +1,5 @@
local g = import 'grafana-builder/grafana.libsonnet';
local grafana = import 'grafonnet/grafana.libsonnet';
local grafana = import 'github.com/grafana/grafonnet-lib/grafonnet/grafana.libsonnet';
local g = import 'github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet';
local dashboard = grafana.dashboard;
local row = grafana.row;
local singlestat = grafana.singlestat;

@ -20,5 +20,5 @@
"version": "master"
}
],
"legacyImports": true
"legacyImports": false
}

Loading…
Cancel
Save