未验证 提交 560845af 编写于 作者: R runzexia

reformat code

Signed-off-by: Nrunzexia <runzexia@yunify.com>
上级 b1af2fd9
......@@ -42,7 +42,6 @@ func init() {
func main() {
flag.Parse()
cfg, err := k8s.Config()
if err != nil {
klog.Error(err, "failed to build kubeconfig")
......
......@@ -21,7 +21,6 @@ import (
"k8s.io/apimachinery/pkg/runtime"
)
// AddToSchemes may be used to add all resources defined in the project to a Scheme
var AddToSchemes runtime.SchemeBuilder
......
......@@ -630,7 +630,7 @@ The last one is encrypted info, such as the password of the username-password ty
Doc("Download S2iBinary file").
Param(webservice.PathParameter("namespace", "the name of namespaces")).
Param(webservice.PathParameter("s2ibinary", "the name of s2ibinary")).
Param(webservice.PathParameter("file","the name of binary file")).
Param(webservice.PathParameter("file", "the name of binary file")).
Returns(http.StatusOK, RespOK, nil))
// TODO are not used in this version. will be added in 2.1.0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册