Merge pull request #7446 from liggitt/namespace_conversion

Fix typo in namespace conversion
This commit is contained in:
Alex Robinson 2015-04-28 16:38:10 -07:00
commit 3c0b799213

View File

@ -2794,7 +2794,7 @@ func init() {
// If one of the conversion functions is malformed, detect it immediately. // If one of the conversion functions is malformed, detect it immediately.
panic(err) panic(err)
} }
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta1", "Namespace", err = newer.Scheme.AddFieldLabelConversionFunc("v1beta3", "Namespace",
func(label, value string) (string, string, error) { func(label, value string) (string, string, error) {
switch label { switch label {
case "status.phase": case "status.phase":