update misspell and gofmt

This commit is contained in:
Ming Deng
2020-12-14 13:52:26 +08:00
parent d4da82ef77
commit 385e1d390f
11 changed files with 31 additions and 21 deletions

View File

@@ -250,7 +250,7 @@ func (a *adminController) ListConf() {
filterTypeData := BeeApp.reportFilter()
filterTypes := make([]string, 0, len(filterTypeData))
for k, _ := range filterTypeData {
for k := range filterTypeData {
filterTypes = append(filterTypes, k)
}

View File

@@ -152,12 +152,12 @@ func TestHealthCheckHandlerDefault(t *testing.T) {
func TestBuildHealthCheckResponseList(t *testing.T) {
healthCheckResults := [][]string{
[]string{
{
"error",
"Database",
"Error occured whie starting the db",
"Error occurred whie starting the db",
},
[]string{
{
"success",
"Cache",
"Cache started successfully",