diff --git a/pkg/api/signup.go b/pkg/api/signup.go index 767b9801154..9a6ade52f82 100644 --- a/pkg/api/signup.go +++ b/pkg/api/signup.go @@ -102,7 +102,7 @@ func SignUpStep2(c *middleware.Context, form dtos.SignUpStep2Form) Response { return ApiError(500, "Failed to query database for invites", err) } - apiResponse := util.DynMap{"message": "User sign up completed succesfully", "code": "redirect-to-landing-page"} + apiResponse := util.DynMap{"message": "User sign up completed successfully", "code": "redirect-to-landing-page"} for _, invite := range invitesQuery.Result { if ok, rsp := applyUserInvite(user, invite, false); !ok { return rsp diff --git a/pkg/login/ldap.go b/pkg/login/ldap.go index 24c6a99a8f5..ef611ed358f 100644 --- a/pkg/login/ldap.go +++ b/pkg/login/ldap.go @@ -35,7 +35,7 @@ func (a *ldapAuther) Dial() error { return err } else { if !certPool.AppendCertsFromPEM(pem) { - return errors.New("Failed to append CA certficate " + caCertFile) + return errors.New("Failed to append CA certificate " + caCertFile) } } } diff --git a/pkg/middleware/auth_proxy.go b/pkg/middleware/auth_proxy.go index d5218b09dda..648c3319305 100644 --- a/pkg/middleware/auth_proxy.go +++ b/pkg/middleware/auth_proxy.go @@ -20,7 +20,7 @@ func initContextWithAuthProxy(ctx *Context) bool { query := getSignedInUserQueryForProxyAuth(proxyHeaderValue) if err := bus.Dispatch(query); err != nil { if err != m.ErrUserNotFound { - ctx.Handle(500, "Failed find user specifed in auth proxy header", err) + ctx.Handle(500, "Failed to find user specified in auth proxy header", err) return true } diff --git a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go index e4a8f52b259..a8a1c6b5a2f 100644 --- a/pkg/plugins/plugins.go +++ b/pkg/plugins/plugins.go @@ -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) }