Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0ee7ac2c
Commit
0ee7ac2c
authored
Feb 16, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4015 from onlyjob/codespell
minor spelling corrections
parents
da8782a9
3fd6ae59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
pkg/api/signup.go
+1
-1
pkg/login/ldap.go
+1
-1
pkg/middleware/auth_proxy.go
+1
-1
pkg/plugins/plugins.go
+1
-1
No files found.
pkg/api/signup.go
View file @
0ee7ac2c
...
...
@@ -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 succes
s
fully"
,
"code"
:
"redirect-to-landing-page"
}
for
_
,
invite
:=
range
invitesQuery
.
Result
{
if
ok
,
rsp
:=
applyUserInvite
(
user
,
invite
,
false
);
!
ok
{
return
rsp
...
...
pkg/login/ldap.go
View file @
0ee7ac2c
...
...
@@ -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 cert
i
ficate "
+
caCertFile
)
}
}
}
...
...
pkg/middleware/auth_proxy.go
View file @
0ee7ac2c
...
...
@@ -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 specif
ed in auth proxy header"
,
err
)
ctx
.
Handle
(
500
,
"Failed
to find user specifi
ed in auth proxy header"
,
err
)
return
true
}
...
...
pkg/plugins/plugins.go
View file @
0ee7ac2c
...
...
@@ -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
(
"Unk
n
own plugin type "
+
pluginCommon
.
Type
)
}
else
{
loader
=
reflect
.
New
(
reflect
.
TypeOf
(
pluginGoType
))
.
Interface
()
.
(
PluginLoader
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment