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 14, 2024
1 parent 603f36c commit 5ae0903
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 @@ -227,6 +227,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 5ae0903

Please sign in to comment.