refactoring: some minor refactoring and changes to AWS profile PR #3053

This commit is contained in:
Torkel Ödegaard
2015-10-29 11:44:34 +01:00
parent 374fbad06d
commit 5d64568f3e
4 changed files with 35 additions and 80 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func ProxyDataSourceRequest(c *middleware.Context) {
}
if ds.Type == m.DS_CLOUDWATCH {
cloudwatch.HandleRequest(c)
cloudwatch.HandleRequest(c, ds)
} else {
proxyPath := c.Params("*")
proxy := NewReverseProxy(ds, proxyPath, targetUrl)