smooth upgrade from Grafana 2.6 to 3.0

This commit is contained in:
utkarshcmu 2016-02-26 19:01:06 -08:00
parent 7fa170cee9
commit a883424d25

View File

@ -14,6 +14,7 @@ function (angular, _, dateMath) {
this.name = instanceSettings.name;
this.withCredentials = instanceSettings.withCredentials;
this.basicAuth = instanceSettings.basicAuth;
instanceSettings.jsonData = instanceSettings.jsonData || {};
this.tsdbVersion = instanceSettings.jsonData.tsdbVersion || 1;
this.supportMetrics = true;
this.tagKeys = {};