Skip to content

Commit 7afd879

Browse files
authored
replacing debug log with a concrete diff result (#3014)
Signed-off-by: Igor Troyanovsky <[email protected]>
1 parent c45fd7e commit 7afd879

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/platform/cnffsdiff/fsdiff.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ func (f *FsDiff) RunTest(containerUID string) {
193193
return
194194
}
195195

196-
// see if there's a match in the output
197-
f.check.LogDebug("Podman diff output is %s", output)
198-
199196
diff := fsDiffJSON{}
200197
err = json.Unmarshal([]byte(output), &diff)
201198
if err != nil {
@@ -206,6 +203,8 @@ func (f *FsDiff) RunTest(containerUID string) {
206203
f.DeletedFolders = f.intersectTargetFolders(diff.Deleted)
207204
f.ChangedFolders = f.intersectTargetFolders(diff.Changed)
208205
if len(f.ChangedFolders) != 0 || len(f.DeletedFolders) != 0 {
206+
f.check.LogDebug("Deleted folders found in Podman diff: %s", f.DeletedFolders)
207+
f.check.LogDebug("Changed folders found in Podman diff: %s", f.ChangedFolders)
209208
f.result = testhelper.FAILURE
210209
} else {
211210
f.result = testhelper.SUCCESS

0 commit comments

Comments
 (0)