From 8c039d31acfa3b52917fc923be05af019dfc15af Mon Sep 17 00:00:00 2001 From: Mustafa UZUN Date: Sun, 20 Aug 2023 15:21:16 +0300 Subject: [PATCH] fix: error message typo --- mongorestore/filepath.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongorestore/filepath.go b/mongorestore/filepath.go index 117e99ca4..61d592ed4 100644 --- a/mongorestore/filepath.go +++ b/mongorestore/filepath.go @@ -116,7 +116,7 @@ func (f *realBSONFile) Open() (err error) { gzFile, err := gzip.NewReader(posFile) posUncompressedFile := &posTrackingReader{0, gzFile} if err != nil { - return fmt.Errorf("error decompressing compresed BSON file %v: %v", f.path, err) + return fmt.Errorf("error decompressing compressed BSON file %v: %v", f.path, err) } f.PosReader = &mixedPosTrackingReader{ readHolder: posUncompressedFile,