style: Run make fmt (#1626)
This commit is contained in:
1 parent
28e6fd591c
commit
95327b5e43
3 files changed
-4
No files matched your search
@@ -49,7 +49,6 @@ func OutgoingResponseFilter(ctx context.Context, w http.ResponseWriter, m proto.
|
||||
const op = "handlers.OutgoingResponseFilter"
|
||||
|
||||
if md, ok := runtime.ServerMetadataFromContext(ctx); ok {
|
||||
|
||||
// set http status codes based on metadata set by the grpc service
|
||||
if statusCodes := md.HeaderMD.Get(StatusCodeHeader); len(statusCodes) > 0 {
|
||||
defer func() {
|
||||
|
||||
@@ -68,5 +68,4 @@ func TestOutgoingResponseFilter_StatusCode(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
@@ -376,7 +376,6 @@ func Test_errorInterceptor(t *testing.T) {
|
||||
require.NoError(err)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func Test_statusCodeInterceptor(t *testing.T) {
|
||||
@@ -424,7 +423,6 @@ func Test_statusCodeInterceptor(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
type testGreeter struct {
|
||||
|
||||
Reference in new issue
Block a user