mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Add kind in all cases for list.
This commit is contained in:
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
Block a user