fix test bug & conversion bug

This commit is contained in:
Daniel Smith
2015-06-10 12:20:21 -07:00
parent 47294dd326
commit 9423f80d20
2 changed files with 32 additions and 12 deletions

View File

@@ -141,7 +141,7 @@ func addConversionFuncs() {
// If one of the conversion functions is malformed, detect it immediately.
panic(err)
}
err = api.Scheme.AddFieldLabelConversionFunc("v1beta3", "Endpoints",
err = api.Scheme.AddFieldLabelConversionFunc("v1", "Endpoints",
func(label, value string) (string, string, error) {
switch label {
case "metadata.name":