Commit 762dab61 by Torkel Ödegaard

Small change to datasourceSrv, if datasource is not found, return default datasource

parent a65c6144
......@@ -80,7 +80,7 @@ function (angular, _, config) {
if (!name) { return this.default; }
if (datasources[name]) { return datasources[name]; }
throw "Unable to find datasource: " + name;
return this.default;
};
this.getAnnotationSources = function() {
......
......@@ -35,7 +35,7 @@
// Graphite Target Editor
@grafanaTargetBorder: @black;
@grafana-info-box grafanaTargetBackground: @grayDark;
@grafanaTargetBackground: @grayDark;
@grafanaTargetColor: #c8c8c8;
@grafanaTargetColorHide: darken(#c8c8c8, 25%);
@grafanaTargetSegmentBorder: #050505;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment