Skip to content

Commit b3befe8

Browse files
committed
fmt
Signed-off-by: Jie WU <[email protected]>
1 parent 52ead4c commit b3befe8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: pkg/ext-proc/handlers/server.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (s *Server) Process(srv extProcPb.ExternalProcessor_ProcessServer) error {
8484
resp, err = s.HandleRequestBody(reqCtx, req)
8585
if err == nil {
8686
metrics.RecordRequestCounter(reqCtx.Model, reqCtx.ResolvedTargetModel)
87-
metrics.RecordRequestSizes(reqCtx.Model, reqCtx.ResolvedTargetModel, reqCtx.RequestSize)
87+
metrics.RecordRequestSizes(reqCtx.Model, reqCtx.ResolvedTargetModel, reqCtx.RequestSize)
8888
}
8989
klog.V(3).Infof("Request context after HandleRequestBody: %+v", reqCtx)
9090
case *extProcPb.ProcessingRequest_ResponseHeaders:
@@ -131,12 +131,12 @@ func (s *Server) Process(srv extProcPb.ExternalProcessor_ProcessServer) error {
131131

132132
// RequestContext stores context information during the life time of an HTTP request.
133133
type RequestContext struct {
134-
TargetPod backend.Pod
135-
Model string
136-
ResolvedTargetModel string
137-
RequestReceivedTimestamp time.Time
134+
TargetPod backend.Pod
135+
Model string
136+
ResolvedTargetModel string
137+
RequestReceivedTimestamp time.Time
138138
ResponseCompleteTimestamp time.Time
139-
RequestSize int
140-
Response Response
141-
ResponseComplete bool
139+
RequestSize int
140+
Response Response
141+
ResponseComplete bool
142142
}

0 commit comments

Comments
 (0)