Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Miloslav Trmač <[email protected]>
  • Loading branch information
mtrmac committed Jul 17, 2024
1 parent 85d7be5 commit 28222ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/chunked/compression_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/klauspost/compress/zstd"
"github.com/klauspost/pgzip"
digest "github.com/opencontainers/go-digest"
"github.com/sirupsen/logrus"
"github.com/vbatts/tar-split/archive/tar"
expMaps "golang.org/x/exp/maps"
)
Expand Down Expand Up @@ -300,6 +301,8 @@ func ensureTimePointersMatch(a, b *time.Time) error {
case a == nil && b == nil:
return nil
case a == nil:
logrus.Errorf("b = %#v", *b)
logrus.Errorf("b.IsZero = %v", b.IsZero())
return fmt.Errorf("nil != %v", *b)
case b == nil:
return fmt.Errorf("%v != nil", *a)
Expand Down

0 comments on commit 28222ae

Please sign in to comment.