Moved drivers from plugins/helper/database/connutil/sql.go to driver test files (#2980)

This commit is contained in:
Graham Davison
2017-07-07 06:09:48 -07:00
committed by Jeff Mitchell
parent 2a534bad74
commit 322abf26f9
4 changed files with 3 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ import (
"testing"
"time"
_ "github.com/denisenkom/go-mssqldb"
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
"github.com/hashicorp/vault/plugins/helper/database/connutil"
)

View File

@@ -9,6 +9,7 @@ import (
"testing"
"time"
_ "github.com/go-sql-driver/mysql"
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
"github.com/hashicorp/vault/plugins/helper/database/connutil"
dockertest "gopkg.in/ory-am/dockertest.v3"

View File

@@ -11,6 +11,7 @@ import (
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
"github.com/hashicorp/vault/plugins/helper/database/connutil"
_ "github.com/lib/pq"
dockertest "gopkg.in/ory-am/dockertest.v3"
)

View File

@@ -7,11 +7,7 @@ import (
"sync"
"time"
// Import sql drivers
_ "github.com/denisenkom/go-mssqldb"
_ "github.com/go-sql-driver/mysql"
"github.com/hashicorp/vault/helper/parseutil"
_ "github.com/lib/pq"
"github.com/mitchellh/mapstructure"
)