return"",errors.New(fmt.Sprintf("Invalid chart name \"%s\". Chart names must be lower case letters and numbers with optionally dashes (-) for separator\n",ch.Name()))
returnerrors.New(fmt.Sprintf("Invalid chart name \"%s\". Chart names must be lower case letters and numbers with optionally dashes (-) for separator\n",name))
}
returnnil
}
// validateVersion Verify that version is a Version, and error out if it is not.