Skip to content

Commit

Permalink
scrubbing bugfix: incorrect return variable (microsoft#1332)
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza El-Saawy <[email protected]>
  • Loading branch information
helsaawy authored Mar 17, 2022
1 parent a092005 commit 11a3a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/scrub.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func ScrubProcessParameters(s string) (string, error) {
if err := encode(buf, pp); err != nil {
return "", err
}
return strings.TrimSpace(s), nil
return strings.TrimSpace(buf.String()), nil
}

// ScrubBridgeCreate scrubs requests sent over the bridge of type
Expand Down

0 comments on commit 11a3a3f

Please sign in to comment.