Fer

Results 16 comments of Fer

hi。 Have you found the reason?

(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62) [2019-03-29 07:51:02] Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near...

在代码的那个位置传入容器名字??不太会go

在浏览器传容器的名字好像不行呀 只能传pod名字。

![image](https://user-images.githubusercontent.com/32826879/61934612-53221b00-afbb-11e9-81b4-04b75ff745f8.png)

但是如果一个pod有多个容器就会报错。现在我想能否直接给你的api转容器名字?

想改一下代码、如果发现有多少容器,直接登录到第一容器里。改terminalws.go这个文件哪里??

"container", t.container 那个参数???

我调用你的api的时候能直接给你穿pod容器的name吗??

嗯 但是我测试直接传2个参数也是能进容器的除了pod多容器情况