From f3da60fef56ea0f3483a7ef707ac82644cfc72cb Mon Sep 17 00:00:00 2001 From: Vishnu Challa Date: Mon, 11 Dec 2023 16:08:11 -0500 Subject: [PATCH] bug fix in tags list --- dittybopper/syncer/entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dittybopper/syncer/entrypoint.py b/dittybopper/syncer/entrypoint.py index f2bf23e..05919a8 100644 --- a/dittybopper/syncer/entrypoint.py +++ b/dittybopper/syncer/entrypoint.py @@ -106,7 +106,7 @@ def create_dashboards(self): if "tags" in dashboard_json.keys(): dashboard_json["tags"].append(self.git_commit_hash) else: - dashboard_json["tags"] = self.git_commit_hash + dashboard_json["tags"] = [self.git_commit_hash] try: response = requests.post( f"{self.grafana_url}/api/dashboards/db",