Skip to content

Commit c7c21e8

Browse files
authored
fix custom resources redaction file path (#480)
* fix custom resources redaction file path
1 parent ea7756f commit c7c21e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/redact/yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (r *YamlRedactor) Redact(input io.Reader, path string) io.Reader {
8181
RedactorName: r.redactName,
8282
CharactersRemoved: len(doc) - len(newBytes),
8383
Line: 0, // line 0 because we have no way to tell what line was impacted
84-
File: r.filePath,
84+
File: path,
8585
IsDefaultRedactor: r.isDefault,
8686
})
8787

0 commit comments

Comments
 (0)