Skip to content

Commit

Permalink
chore: run go fmt ./... (#6588)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr authored Sep 28, 2020
1 parent 2b9469e commit adfb1d4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion graphql/resolve/middlewares.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ func IpWhitelistingMW4Query(resolver QueryResolver) QueryResolver {
})
}


func LoggingMWQuery(resolver QueryResolver) QueryResolver {
return QueryResolverFunc(func(ctx context.Context, query schema.Query) *Resolved {
glog.Infof("GraphQL admin query. Name = %v", query.Name())
Expand Down
2 changes: 1 addition & 1 deletion graphql/schema/validation_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ func valueKindToString(valKind ast.ValueKind) string {
return "Object"
}
return ""
}
}
2 changes: 1 addition & 1 deletion systest/group-delete/group_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func TestNodes(t *testing.T) {
if err == nil {
break
}
time.Sleep(5*time.Second)
time.Sleep(5 * time.Second)
}
require.NoError(t, err, "error while getting connection to group 1")

Expand Down
2 changes: 1 addition & 1 deletion x/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (

"github.com/dgraph-io/badger/v2"
bpb "github.com/dgraph-io/badger/v2/pb"
"github.com/dgraph-io/dgraph/x"
"github.com/dgraph-io/dgraph/protos/pb"
"github.com/dgraph-io/dgraph/x"
)

// VerifySnapshot iterates over all the keys in badger. For all data keys it checks
Expand Down

0 comments on commit adfb1d4

Please sign in to comment.