Chore: Fix various spelling errors in back-end code (#25241)

* Chore: Fix various spelling errors in back-end code
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>>
This commit is contained in:
Arve Knudsen
2020-06-01 17:11:25 +02:00
committed by GitHub
co-authored by Sofia Papagiannaki Josh Soref
parent 13787294c6
commit 07582a8e85
60 changed files with 174 additions and 168 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings"
)
func ComposePluginStartCommmand(executable string) string {
func ComposePluginStartCommand(executable string) string {
os := strings.ToLower(runtime.GOOS)
arch := runtime.GOARCH
extension := ""
+1 -1
View File
@@ -51,7 +51,7 @@ func TestPluginDashboards(t *testing.T) {
So(err, ShouldBeNil)
Convey("should return 2 dashboarrd", func() {
Convey("should return 2 dashboards", func() {
So(len(dashboards), ShouldEqual, 2)
})
+1 -1
View File
@@ -45,7 +45,7 @@ func (p *DataSourcePlugin) Load(decoder *json.Decoder, pluginDir string, backend
}
if p.Backend {
cmd := ComposePluginStartCommmand(p.Executable)
cmd := ComposePluginStartCommand(p.Executable)
fullpath := path.Join(p.PluginDir, cmd)
descriptor := backendplugin.NewBackendPluginDescriptor(p.Id, fullpath, backendplugin.PluginStartFuncs{
OnLegacyStart: p.onLegacyPluginStart,
+1 -1
View File
@@ -32,7 +32,7 @@ func (r *RendererPlugin) Load(decoder *json.Decoder, pluginDir string, backendPl
r.backendPluginManager = backendPluginManager
cmd := ComposePluginStartCommmand("plugin_start")
cmd := ComposePluginStartCommand("plugin_start")
fullpath := path.Join(r.PluginDir, cmd)
descriptor := backendplugin.NewRendererPluginDescriptor(r.Id, fullpath, backendplugin.PluginStartFuncs{
OnLegacyStart: r.onLegacyPluginStart,
+1 -1
View File
@@ -35,7 +35,7 @@ func (p *TransformPlugin) Load(decoder *json.Decoder, pluginDir string, backendP
return err
}
cmd := ComposePluginStartCommmand(p.Executable)
cmd := ComposePluginStartCommand(p.Executable)
fullpath := path.Join(p.PluginDir, cmd)
descriptor := backendplugin.NewBackendPluginDescriptor(p.Id, fullpath, backendplugin.PluginStartFuncs{
OnStart: p.onPluginStart,