From 01819532421e4a9525aa311ea8f3c28e23d0d9fe Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Sat, 7 Jun 2014 21:57:36 -0700 Subject: [PATCH] Add kind in all cases for list. --- pkg/registry/controller_registry.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/registry/controller_registry.go b/pkg/registry/controller_registry.go index 05bf8e40711..126b006d1a9 100644 --- a/pkg/registry/controller_registry.go +++ b/pkg/registry/controller_registry.go @@ -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