mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Fix a compile error.
This commit is contained in:
parent
ef7cce5dad
commit
6e7b3fd969
@ -50,14 +50,13 @@ type Status struct {
|
||||
// TODO: consider migrating this to go-restful which is a more full-featured version of the same thing.
|
||||
type ApiServer struct {
|
||||
prefix string
|
||||
apiName string
|
||||
storage map[string]RESTStorage
|
||||
}
|
||||
|
||||
// New creates a new ApiServer object.
|
||||
// 'storage' contains a map of handlers.
|
||||
// 'prefix' is the hosting path prefix.
|
||||
func New(storage map[string]RESTStorage, prefix, apiName string) *ApiServer {
|
||||
func New(storage map[string]RESTStorage, prefix string) *ApiServer {
|
||||
return &ApiServer{
|
||||
storage: storage,
|
||||
prefix: prefix,
|
||||
|
Loading…
Reference in New Issue
Block a user