sandeep 2022-12-05 23:26:57 +05:30
commit e92a70da19
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ on:
pull_request:
paths:
- '**.go'
- 'v2/'
workflow_dispatch:
jobs:

View File

@ -10,7 +10,7 @@ import (
// are similar enough to be considered one and can be checked by
// just adding the matcher/extractors for the request and the correct IDs.
func (request *Request) CanCluster(other *Request) bool {
if len(request.Payloads) > 0 || len(request.Raw) > 0 || len(request.Body) > 0 || request.Unsafe || request.NeedsRequestCondition() || request.Name != "" {
if len(request.Payloads) > 0 || len(request.Fuzzing) > 0 || len(request.Raw) > 0 || len(request.Body) > 0 || request.Unsafe || request.NeedsRequestCondition() || request.Name != "" {
return false
}
if request.Method != other.Method ||