feat(macaron): upgrades macaron version

This commit is contained in:
bergquist
2016-01-13 15:11:23 +01:00
parent 5de69b288f
commit 4fe72ebf69
163 changed files with 10334 additions and 6847 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
package api
import (
"github.com/Unknwon/macaron"
"gopkg.in/macaron.v1"
"github.com/grafana/grafana/pkg/api/dtos"
"github.com/grafana/grafana/pkg/middleware"
m "github.com/grafana/grafana/pkg/models"
"github.com/macaron-contrib/binding"
"github.com/go-macaron/binding"
)
// Register adds http routes
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/json"
"net/http"
"github.com/Unknwon/macaron"
"gopkg.in/macaron.v1"
"github.com/grafana/grafana/pkg/log"
"github.com/grafana/grafana/pkg/metrics"
"github.com/grafana/grafana/pkg/middleware"
+1 -1
View File
@@ -102,6 +102,6 @@ func ProxyDataSourceRequest(c *middleware.Context) {
proxyPath := c.Params("*")
proxy := NewReverseProxy(ds, proxyPath, targetUrl)
proxy.Transport = dataProxyTransport
proxy.ServeHTTP(c.RW(), c.Req.Request)
proxy.ServeHTTP(c.Resp, c.Req.Request)
}
}
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"strings"
"sync"
"github.com/Unknwon/macaron"
"gopkg.in/macaron.v1"
)
var Root string