update misspell and gofmt
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user