fix(merge): minor merge fix

This commit is contained in:
Torkel Ödegaard 2016-01-13 15:51:47 +01:00
parent 6da3af5e89
commit 8ff48c126a

View File

@ -6,7 +6,8 @@ import (
"net/http/httputil"
"net/url"
"github.com/Unknwon/macaron"
"gopkg.in/macaron.v1"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/middleware"
m "github.com/grafana/grafana/pkg/models"
@ -53,7 +54,7 @@ func ApiPlugin(routeUrl string) macaron.Handler {
targetUrl, _ := url.Parse(routeUrl)
proxy := NewApiPluginProxy(string(ctx), path, targetUrl)
proxy.Transport = dataProxyTransport
proxy.ServeHTTP(c.RW(), c.Req.Request)
proxy.ServeHTTP(c.Resp, c.Req.Request)
}
}