mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-10 07:48:48 +07:00
chore: fix incorrect number of routing rule stringer (#131)
This commit is contained in:
@ -202,7 +202,7 @@ func (r *RoutingRule) String(replaceParamWithN bool, compact bool, quoteVal bool
|
||||
}
|
||||
}
|
||||
var paramBuilder strings.Builder
|
||||
n += len(f.Params)
|
||||
n = len(f.Params)
|
||||
if replaceParamWithN {
|
||||
paramBuilder.WriteString("[n = " + strconv.Itoa(n) + "]")
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user