Skip to content

Commit 5aed1c7

Browse files
committed
adding openstack directory to HMF excluded directory list
Signed-off-by: Adam D. Cornett <adc@redhat.com>
1 parent 3f62be9 commit 5aed1c7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

internal/policy/container/has_modified_files.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,12 @@ func findRPMDB(ctx context.Context, layer v1.Layer) (found bool, pkglist []*rpmd
370370
// directoryIsExcluded excludes a directory and any file contained in that directory.
371371
func directoryIsExcluded(ctx context.Context, s string) bool {
372372
excl := map[string]struct{}{
373-
"etc": {},
374-
"var": {},
375-
"run": {},
376-
"usr/lib/.build-id": {},
377-
"usr/tmp": {},
373+
"etc": {},
374+
"var": {},
375+
"run": {},
376+
"usr/lib/.build-id": {},
377+
"usr/tmp": {},
378+
"usr/share/openstack-dashboard": {},
378379
}
379380

380381
for k := range excl {

0 commit comments

Comments
 (0)