aboutsummaryrefslogtreecommitdiffstats
path: root/entity/err.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-02-14 12:24:40 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:24:40 +0100
commit1ced77af1a4bdbaa212a74bf0c56b2b81cdc5bd2 (patch)
treee19a0b4ce8c322f2378b251e38ef6c3ffa2a7646 /entity/err.go
parentd0d7be8db010e2c68c98d0a34387e4fac0c4d6ee (diff)
downloadgit-bug-1ced77af1a4bdbaa212a74bf0c56b2b81cdc5bd2.tar.gz
fix merge
Diffstat (limited to 'entity/err.go')
-rw-r--r--entity/err.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/err.go b/entity/err.go
index 9f7f5a1a..408e27b4 100644
--- a/entity/err.go
+++ b/entity/err.go
@@ -43,7 +43,7 @@ func NewErrInvalidFormat(version uint, expected uint) *ErrInvalidFormat {
}
}
-func NewErrUnknowFormat(expected uint) *ErrInvalidFormat {
+func NewErrUnknownFormat(expected uint) *ErrInvalidFormat {
return &ErrInvalidFormat{
version: 0,
expected: expected,