Skip to content

Commit c27264d

Browse files
authored
Merge pull request #137 from yuvipanda/no-warn
Remove warning about only supporting go-jsonnet
2 parents 525c48c + f4ce9bd commit c27264d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

deploy.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,18 +130,12 @@ def main():
130130
"The environment variable GRAFANA_TOKEN needs to be set in order to deploying dashboards to a Grafana deployment."
131131
)
132132

133-
# ensure jsonnet (go-jsonnet)
133+
# ensure jsonnet
134134
if not shutil.which("jsonnet"):
135135
raise ValueError(
136136
"No jsonnet binary was found on path! "
137137
"Install go-jsonnet via https://github.com/google/go-jsonnet/releases."
138138
)
139-
jsonnet_version = subprocess.check_output(["jsonnet", "--version"], text=True)
140-
if "go" not in jsonnet_version.casefold():
141-
print(
142-
"WARNING: The jsonnet binary on path doesn't seem to be go-jsonnet from https://github.com/google/go-jsonnet/releases! "
143-
"Only that jsonnet implementation is known to work."
144-
)
145139

146140
api = partial(
147141
grafana_request,

0 commit comments

Comments
 (0)