mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #14317 from mjtrangoni/fix-misspell-issues
pkg/*: Fix misspelling issues using locale US
This commit is contained in:
commit
3c330c8e4c
@ -1,5 +1,5 @@
|
|||||||
// uses code from https://github.com/antonholmquist/jason/blob/master/jason.go
|
// uses code from https://github.com/antonholmquist/jason/blob/master/jason.go
|
||||||
// MIT Licence
|
// MIT License
|
||||||
|
|
||||||
package dynmap
|
package dynmap
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// uses code from https://github.com/antonholmquist/jason/blob/master/jason.go
|
// uses code from https://github.com/antonholmquist/jason/blob/master/jason.go
|
||||||
// MIT Licence
|
// MIT License
|
||||||
|
|
||||||
package dynmap
|
package dynmap
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ func TestAccountDataAccess(t *testing.T) {
|
|||||||
err := DeleteOrg(&m.DeleteOrgCommand{Id: ac2.OrgId})
|
err := DeleteOrg(&m.DeleteOrgCommand{Id: ac2.OrgId})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
// remove frome ac2 from ac1 org
|
// remove ac2 user from ac1 org
|
||||||
remCmd := m.RemoveOrgUserCommand{OrgId: ac1.OrgId, UserId: ac2.Id, ShouldDeleteOrphanedUser: true}
|
remCmd := m.RemoveOrgUserCommand{OrgId: ac1.OrgId, UserId: ac2.Id, ShouldDeleteOrphanedUser: true}
|
||||||
err = RemoveOrgUser(&remCmd)
|
err = RemoveOrgUser(&remCmd)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
@ -541,7 +541,7 @@ func getErrorFromElasticResponse(response *es.SearchResponse) *tsdb.QueryResult
|
|||||||
} else if reason != "" {
|
} else if reason != "" {
|
||||||
result.ErrorString = reason
|
result.ErrorString = reason
|
||||||
} else {
|
} else {
|
||||||
result.ErrorString = "Unkown elasticsearch error response"
|
result.ErrorString = "Unknown elasticsearch error response"
|
||||||
}
|
}
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
@ -84,7 +84,7 @@ func (e *OpenTsdbExecutor) createRequest(dsInfo *models.DataSource, data OpenTsd
|
|||||||
|
|
||||||
postData, err := json.Marshal(data)
|
postData, err := json.Marshal(data)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
plog.Info("Failed marshalling data", "error", err)
|
plog.Info("Failed marshaling data", "error", err)
|
||||||
return nil, fmt.Errorf("Failed to create request. error: %v", err)
|
return nil, fmt.Errorf("Failed to create request. error: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user