Skip to content

Commit

Permalink
Register field conversion function under the right type name
Browse files Browse the repository at this point in the history
  • Loading branch information
bprashanth committed Apr 3, 2015
1 parent 51e2518 commit 5903f6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/api/v1beta1/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ func init() {
// If one of the conversion functions is malformed, detect it immediately.
panic(err)
}
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta1", "Minion",
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta1", "Node",
func(label, value string) (string, string, error) {
switch label {
case "name":
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1beta2/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -1475,7 +1475,7 @@ func init() {
// If one of the conversion functions is malformed, detect it immediately.
panic(err)
}
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta2", "Minion",
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta2", "Node",
func(label, value string) (string, string, error) {
switch label {
case "name":
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/v1beta3/conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func init() {
// If one of the conversion functions is malformed, detect it immediately.
panic(err)
}
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta3", "Minion",
err = newer.Scheme.AddFieldLabelConversionFunc("v1beta3", "Node",
func(label, value string) (string, string, error) {
switch label {
case "name":
Expand Down

0 comments on commit 5903f6f

Please sign in to comment.