From 0945e5919c1b962c650c7e22489a0188d00d3d16 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Mon, 11 Oct 2021 11:15:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E9=80=82=E9=85=8D?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8D=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E4=B8=8D=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/container.go b/models/container.go index 0ea1d32..4c3a632 100644 --- a/models/container.go +++ b/models/container.go @@ -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 {