aboutsummaryrefslogtreecommitdiff
path: root/object/store/packed/pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/store/packed/pack.go')
-rw-r--r--object/store/packed/pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/store/packed/pack.go b/object/store/packed/pack.go
index 5abc6c15..928ced70 100644
--- a/object/store/packed/pack.go
+++ b/object/store/packed/pack.go
@@ -47,7 +47,7 @@ func openPackFile(name string, file *os.File, size int64) (*packFile, error) {
}
version := binary.BigEndian.Uint32(data[4:8])
- if !packfmt.VersionSupported(version) {
+ if !packfmt.SupportedVersion(version) {
_ = syscall.Munmap(data)
return nil, fmt.Errorf("objectstore/packed: pack %q unsupported version %d", name, version)