Support manual triggering of a repository update. (#6414)
* Support manual triggering of a repository update. * cherry pick add api for workload template (#1982) * cherry pick (add operator application (#1970)) * Modify routing implementation to improve readability * cherry pick from kse dfc40e5adf5aa2e67d1 * Filter by Routing Parameter Namespace (#1990) * add doc for workloadtemplates --------- Co-authored-by: inksnw <inksnw@gmail.com>
This commit is contained in:
committed by
GitHub
parent
c9c856dfda
commit
bb60d39434
@@ -8,6 +8,8 @@ package v2
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
k8suitl "kubesphere.io/kubesphere/pkg/utils/k8sutil"
|
||||
|
||||
"github.com/emicklei/go-restful/v3"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/klog/v2"
|
||||
@@ -99,5 +101,5 @@ func (h *appHandler) ListCategories(req *restful.Request, resp *restful.Response
|
||||
if requestDone(err, resp) {
|
||||
return
|
||||
}
|
||||
resp.WriteEntity(convertToListResult(cList, req))
|
||||
resp.WriteEntity(k8suitl.ConvertToListResult(cList, req))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user