Add a storage implementation for thirdpartyresources.

This commit is contained in:
Brendan Burns
2015-08-14 22:10:15 -07:00
parent 2f9652c7f1
commit 828e4d35a7
2 changed files with 6 additions and 1 deletions

View File

@@ -25,6 +25,11 @@ import (
func addDefaultingFuncs() {
api.Scheme.AddDefaultingFuncs(
func(obj *APIVersion) {
if len(obj.APIGroup) == 0 {
obj.APIGroup = "experimental"
}
},
func(obj *ReplicationController) {
var labels map[string]string
if obj.Spec.Template != nil {