Skip to content

Commit 870749f

Browse files
committed
Remove unnecessary code block
1 parent 26194a6 commit 870749f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

plugin/plugin.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@ func (p *Plugin) OnTrafficFromClient(ctx context.Context, req *v1.Struct) (*v1.S
105105
return req, err
106106
}
107107

108-
// Get the client request from the GatewayD request.
109-
request := cast.ToString(sdkPlugin.GetAttr(req, RequestField, ""))
110-
if request == "" {
111-
return req, nil
112-
}
113-
114108
// Get the query from the request.
115109
query := cast.ToString(sdkPlugin.GetAttr(req, QueryField, ""))
116110
if query == "" {

0 commit comments

Comments
 (0)