mirror of
https://github.com/moby/buildkit.git
synced 2026-06-30 19:57:39 +00:00
util: fix stack compression compare bug
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@ loop0:
|
||||
}
|
||||
// full match, potentially skip all
|
||||
if idx == len(st.Frames)-1 {
|
||||
if st.Pid == prev.Pid && st.Version == prev.Version && slices.Compare(st.Cmdline, st.Cmdline) == 0 {
|
||||
if st.Pid == prev.Pid && st.Version == prev.Version && slices.Equal(st.Cmdline, prev.Cmdline) {
|
||||
continue loop0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user