fix 修复适配问题,修复连接失败不报错问题

This commit is contained in:
ZJY 2021-10-11 11:15:30 +08:00
parent a8836e6545
commit 0945e5919c

View File

@ -355,7 +355,7 @@ func (c *Container) read() error {
func (c *Container) getToken() error {
version, err := GetQlVersion(c.Address)
logs.Debug(err)
if version == "2.9" {
if version == "openapi" {
token := &Token{}
err, b2 := getT(c, token)
if b2 {