make generic proxy can be marked as deprecated

Signed-off-by: zhu733756 <zhu733756@kubesphere.io>
This commit is contained in:
zhu733756
2022-01-17 16:18:17 +08:00
parent b6e960766a
commit e42d9517b7
2 changed files with 13 additions and 0 deletions

View File

@@ -33,5 +33,7 @@ func AddToContainer(container *restful.Container, endpoint string) error {
return nil
}
proxy.SetProxyDesprecated()
return proxy.AddToContainer(container)
}