Move database drivers from test files into the plugin files (#2986)

This commit is contained in:
Brian Kassouf 2017-07-07 10:38:12 -07:00 committed by GitHub
parent 0bd78602fa
commit aca4736d7d
6 changed files with 3 additions and 3 deletions

View file

@ -6,6 +6,7 @@ import (
"strings"
"time"
_ "github.com/denisenkom/go-mssqldb"
"github.com/hashicorp/vault/api"
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
"github.com/hashicorp/vault/helper/strutil"

View file

@ -9,7 +9,6 @@ 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

@ -5,6 +5,7 @@ import (
"strings"
"time"
_ "github.com/go-sql-driver/mysql"
"github.com/hashicorp/vault/api"
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
"github.com/hashicorp/vault/helper/strutil"

View file

@ -9,7 +9,6 @@ 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

@ -14,6 +14,7 @@ import (
"github.com/hashicorp/vault/plugins/helper/database/credsutil"
"github.com/hashicorp/vault/plugins/helper/database/dbutil"
"github.com/lib/pq"
_ "github.com/lib/pq"
)
const (

View file

@ -11,7 +11,6 @@ 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"
)