Merge pull request #24539 from smarterclayton/unify_stream_and_serial
Unify Streaming and normal Serializers
This commit is contained in:
commit
16c051ec67
|
@ -94,9 +94,8 @@ func Run(serverOptions *genericapiserver.ServerRunOptions) error {
|
|||
VersionedResourcesStorageMap: map[string]map[string]rest.Storage{
|
||||
groupVersion.Version: restStorageMap,
|
||||
},
|
||||
Scheme: api.Scheme,
|
||||
NegotiatedSerializer: api.Codecs,
|
||||
NegotiatedStreamSerializer: api.StreamCodecs,
|
||||
Scheme: api.Scheme,
|
||||
NegotiatedSerializer: api.Codecs,
|
||||
}
|
||||
if err := s.InstallAPIGroups([]genericapiserver.APIGroupInfo{apiGroupInfo}); err != nil {
|
||||
return fmt.Errorf("Error in installing API: %v", err)
|
||||
|
|
Loading…
Reference in New Issue