未验证 提交 432bd331 编写于 作者: J Jeff

move custom apis to kapis

上级 29686663
......@@ -4,7 +4,7 @@ import (
"github.com/emicklei/go-restful"
urlruntime "k8s.io/apimachinery/pkg/util/runtime"
"kubesphere.io/kubesphere/pkg/apiserver/runtime"
v1alpha22 "kubesphere.io/kubesphere/pkg/kapis/servicemesh/metrics/v1alpha2"
"kubesphere.io/kubesphere/pkg/kapis/servicemesh/metrics/v1alpha2"
)
func init() {
......@@ -12,5 +12,5 @@ func init() {
}
func Install(c *restful.Container) {
urlruntime.Must(v1alpha22.AddToContainer(c))
urlruntime.Must(v1alpha2.AddToContainer(c))
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册