mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 06:32:17 +08:00
minor spelling corrections
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user