Skip to content

Commit

Permalink
Updated driver to use the same driver as Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
lonelycode committed Oct 5, 2015
1 parent 65075aa commit 349ea07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"encoding/csv"
"fmt"
"gopkg.in/mgo.v2"
"gopkg.in/vmihailenco/msgpack.v2"
"labix.org/v2/mgo"
"os"
"strconv"
"time"
Expand Down
7 changes: 3 additions & 4 deletions api_definition_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/gorilla/context"
"github.com/lonelycode/tykcommon"
"github.com/rubyist/circuitbreaker"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
"io/ioutil"
"labix.org/v2/mgo"
"labix.org/v2/mgo/bson"
"net/http"
"net/url"
"path/filepath"
Expand Down Expand Up @@ -855,9 +855,8 @@ func (a *APISpec) getVersionFromRequest(r *http.Request) string {
if firstParamEndsAt == -1 {
return ""
}

thisVersion := thisURL[:firstParamEndsAt]

thisVersion := thisURL[:firstParamEndsAt]

return thisVersion

Expand Down
2 changes: 1 addition & 1 deletion event_system.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"github.com/lonelycode/tykcommon"
"github.com/rubyist/circuitbreaker"
"labix.org/v2/mgo/bson"
"gopkg.in/mgo.v2/bson"
"net/http"
"time"
)
Expand Down
4 changes: 2 additions & 2 deletions policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package main

import (
"encoding/json"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
"io/ioutil"
"labix.org/v2/mgo"
"labix.org/v2/mgo/bson"
"time"
)

Expand Down

0 comments on commit 349ea07

Please sign in to comment.