@@ -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
|
||||
|
||||
Reference in New Issue
Block a user