Add NegotiatedSerializer to config

This commit is contained in:
Wojciech Tyczynski
2016-04-26 08:28:15 +02:00
parent 43b644ea6f
commit b4c83022e3
21 changed files with 63 additions and 50 deletions

View File

@@ -73,6 +73,7 @@ func setBatchDefaults(config *restclient.Config) error {
//}
config.Codec = api.Codecs.LegacyCodec(*config.GroupVersion)
config.NegotiatedSerializer = api.Codecs
if config.QPS == 0 {
config.QPS = 5
}