Skip to content

Commit

Permalink
fix gateway connect (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
kqzh committed Jan 19, 2022
1 parent 8636ac6 commit 9c14441
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (

"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
"github.com/vesoft-inc/nebula-http-gateway/ccore/nebula"
"github.com/vesoft-inc/nebula-http-gateway/ccore/nebula/gateway/dao"
"github.com/vesoft-inc/nebula-http-gateway/ccore/nebula/gateway/pool"
"github.com/vesoft-inc/nebula-http-gateway/ccore/nebula/types"
Expand Down Expand Up @@ -49,7 +48,7 @@ func (this *DatabaseController) Connect() {
)
json.Unmarshal(this.Ctx.Input.RequestBody, &params)

nsid, err := dao.Connect(params.Address, params.Port, params.Username, params.Password, nebula.VersionAuto)
nsid, err := dao.Connect(params.Address, params.Port, params.Username, params.Password)
if err == nil {
res.Code = 0
m := make(map[string]types.Any)
Expand Down

0 comments on commit 9c14441

Please sign in to comment.