Revert "Test Service creation -> endpoint generation latency"

This commit is contained in:
Brendan Burns
2015-06-09 21:24:00 -07:00
parent 7ff4adb0a2
commit 654857114e
4 changed files with 2 additions and 209 deletions

View File

@@ -376,11 +376,11 @@ func (s *Scheme) Convert(in, out interface{}) error {
// versioned representation to an unversioned one.
func (s *Scheme) ConvertFieldLabel(version, kind, label, value string) (string, string, error) {
if s.fieldLabelConversionFuncs[version] == nil {
return "", "", fmt.Errorf("No field label conversion function found for version: %s", version)
return "", "", fmt.Errorf("No conversion function found for version: %s", version)
}
conversionFunc, ok := s.fieldLabelConversionFuncs[version][kind]
if !ok {
return "", "", fmt.Errorf("No field label conversion function found for version %s and kind %s", version, kind)
return "", "", fmt.Errorf("No conversion function found for version %s and kind %s", version, kind)
}
return conversionFunc(label, value)
}