From 7c630830e9eaf0b5cea8e345e4f4a8c166917563 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Mon, 5 Jun 2023 11:31:35 +0200 Subject: [PATCH] misc: fix error message --- datasegment/index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datasegment/index.go b/datasegment/index.go index 8a9dbbe..cdc4f36 100644 --- a/datasegment/index.go +++ b/datasegment/index.go @@ -260,10 +260,10 @@ func (sd SegmentDesc) Validate() error { return validationError("computed checksum does not match embedded checksum") } if sd.Offset%128 != 0 { - return validationError("offset is not aligned in unpadded data") + return validationError("offset is not aligned in padded data") } if sd.Size%128 != 0 { - return validationError("size is not aligned in unpadded data") + return validationError("size is not aligned in padded data") } return nil }