minor spelling corrections

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
This commit is contained in:
Dmitry Smirnov committed 2016-02-16 12:12:04 +11:00
1 parent da8782a9d0
commit 3fd6ae597d
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ func (scanner *PluginScanner) loadPluginJson(pluginJsonFilePath string) error {
var loader PluginLoader
if pluginGoType, exists := PluginTypes[pluginCommon.Type]; !exists {
return errors.New("Unkown plugin type " + pluginCommon.Type)
return errors.New("Unknown plugin type " + pluginCommon.Type)
} else {
loader = reflect.New(reflect.TypeOf(pluginGoType)).Interface().(PluginLoader)
}