Skip to content

Commit

Permalink
Add break for optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
torcolvin committed May 10, 2024
1 parent 766555d commit b8a53eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tap.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func decodeValueWithXattrs(data []byte, xattrNames []string, allXattrs bool) (bo
for _, xattrName := range xattrNames {
if xattrName == xattrKey {
xattrs[xattrName] = components[1]
break
}
}
// Exit if we have all xattrs we want
Expand Down

0 comments on commit b8a53eb

Please sign in to comment.