mirror of https://github.com/k3s-io/k3s
Add kind in all cases for list.
parent
6e7b3fd969
commit
0181953242
|
@ -39,7 +39,8 @@ func (storage *ControllerRegistryStorage) List(*url.URL) (interface{}, error) {
|
|||
controllers, err := storage.registry.ListControllers()
|
||||
if err == nil {
|
||||
result = ReplicationControllerList{
|
||||
Items: controllers,
|
||||
JSONBase: JSONBase{Kind: "cluster#replicationControllerList"},
|
||||
Items: controllers,
|
||||
}
|
||||
}
|
||||
return result, err
|
||||
|
|
Loading…
Reference in New Issue