mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Make IsQualifiedName return error strings
This commit is contained in:
		| @@ -272,7 +272,7 @@ func (pm *VolumePluginMgr) InitPlugins(plugins []VolumePlugin, host VolumeHost) | ||||
| 	allErrs := []error{} | ||||
| 	for _, plugin := range plugins { | ||||
| 		name := plugin.Name() | ||||
| 		if !validation.IsQualifiedName(name) { | ||||
| 		if len(validation.IsQualifiedName(name)) != 0 { | ||||
| 			allErrs = append(allErrs, fmt.Errorf("volume plugin has invalid name: %#v", plugin)) | ||||
| 			continue | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tim Hockin
					Tim Hockin