Skip to content

Commit 0e2dec4

Browse files
committed
Fix
1 parent 3a13375 commit 0e2dec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/bufpkg/bufimage/bufimageutil/bufimageutil.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ func (t *transitiveClosure) addElement(
431431
opts *imageFilterOptions,
432432
) error {
433433
descriptorInfo := imageIndex.ByDescriptor[descriptor]
434-
if existingMode, ok := t.elements[descriptor]; ok && existingMode != inclusionModeExcluded {
434+
if existingMode, ok := t.elements[descriptor]; ok && existingMode != inclusionModeEnclosing {
435435
if existingMode == inclusionModeExcluded {
436436
return nil // already excluded
437437
}

0 commit comments

Comments
 (0)