Skip to content

Commit

Permalink
Query Parameters Pruning API and Tests.
Browse files Browse the repository at this point in the history
    Fix for missing pruneDone check.
  • Loading branch information
a-barboza committed Oct 11, 2023
1 parent 43cb7ef commit d8e665e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translib/transformer/xlate_xfmr_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func xfmrHandlerFunc(inParams XfmrParams, xfmrFuncNm string) error {
}
}
}
if (err == nil) && inParams.queryParams.isEnabled() {
if (err == nil) && inParams.queryParams.isEnabled() && !(*inParams.pruneDone) {
log.Infof("xfmrPruneQP: func %v URI %v, requestUri %v",
xfmrFuncNm, inParams.uri, inParams.requestUri)
err = xfmrPruneQP(inParams.ygRoot, inParams.queryParams,
Expand Down

0 comments on commit d8e665e

Please sign in to comment.