pkg/storage/etcd: cut off pkg/api scheme

This commit is contained in:
Dr. Stefan Schimanski
2017-02-01 13:53:43 +01:00
parent 01ac994541
commit 2f9fa55c6f
19 changed files with 259 additions and 187 deletions

View File

@@ -311,6 +311,7 @@ func NewMasterConfig() *master.Config {
// prefix code, so please don't change without ensuring
// sufficient coverage in other ways.
Prefix: uuid.New(),
Copier: api.Scheme,
}
info, _ := runtime.SerializerInfoForMediaType(api.Codecs.SupportedMediaTypes(), runtime.ContentTypeJSON)