From ec99507e4c27e10eabc8a0599d6b2a346a17b73e Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 13 Jan 2023 23:57:04 +0100 Subject: [PATCH] update blazer This removes a stray warning, that was printed when checking the status of non-existent files. --- changelog/unreleased/issue-3750 | 10 ++++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 changelog/unreleased/issue-3750 diff --git a/changelog/unreleased/issue-3750 b/changelog/unreleased/issue-3750 new file mode 100644 index 000000000..825773494 --- /dev/null +++ b/changelog/unreleased/issue-3750 @@ -0,0 +1,10 @@ +Bugfix: Remove `b2_download_file_by_name: 404` warning from B2 backend + +In some cases the B2 backend could print `b2_download_file_by_name: 404: : +b2.b2err` warnings. These are only debug messages and can be safely ignored. + +We have updated the library used for accessing B2 to remove this warning. + +https://github.com/restic/restic/issues/3750 +https://github.com/restic/restic/issues/4144 +https://github.com/restic/restic/pull/4146 diff --git a/go.mod b/go.mod index f97dc0022..bea3a87ad 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/hashicorp/golang-lru/v2 v2.0.1 github.com/juju/ratelimit v1.0.2 github.com/klauspost/compress v1.15.14 - github.com/kurin/blazer v0.5.4-0.20211030221322-ba894c124ac6 + github.com/kurin/blazer v0.5.4-0.20230113224640-3887e1ec64b5 github.com/minio/minio-go/v7 v7.0.47 github.com/minio/sha256-simd v1.0.0 github.com/ncw/swift/v2 v2.0.1 diff --git a/go.sum b/go.sum index 4b822aff4..0cf53dccb 100644 --- a/go.sum +++ b/go.sum @@ -111,8 +111,8 @@ github.com/klauspost/cpuid/v2 v2.2.3 h1:sxCkb+qR91z4vsqw4vGGZlDgPz3G7gjaLyK3V8y7 github.com/klauspost/cpuid/v2 v2.2.3/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY= github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kurin/blazer v0.5.4-0.20211030221322-ba894c124ac6 h1:nz7i1au+nDzgExfqW5Zl6q85XNTvYoGnM5DHiQC0yYs= -github.com/kurin/blazer v0.5.4-0.20211030221322-ba894c124ac6/go.mod h1:4FCXMUWo9DllR2Do4TtBd377ezyAJ51vB5uTBjt0pGU= +github.com/kurin/blazer v0.5.4-0.20230113224640-3887e1ec64b5 h1:OUlGa6AAolmjyPtILbMJ8vHayz5wd4wBUloheGcMhfA= +github.com/kurin/blazer v0.5.4-0.20230113224640-3887e1ec64b5/go.mod h1:4FCXMUWo9DllR2Do4TtBd377ezyAJ51vB5uTBjt0pGU= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34= github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=