From 1e9e23fba4979a1f593084154d63ba1e91a6436e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:41:48 +0000 Subject: [PATCH] rebase: bump github.com/ceph/go-ceph Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.30.1-0.20241102143109-75d1af3ed638 to 0.31.0. - [Release notes](https://github.com/ceph/go-ceph/releases) - [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md) - [Commits](https://github.com/ceph/go-ceph/commits/v0.31.0) --- updated-dependencies: - dependency-name: github.com/ceph/go-ceph dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/ceph/go-ceph/cephfs/errors.go | 3 +++ vendor/github.com/ceph/go-ceph/rados/read_op_exec.go | 3 --- vendor/github.com/ceph/go-ceph/rados/write_op_exec.go | 3 --- vendor/github.com/ceph/go-ceph/rbd/clone_image_by_id.go | 5 ++--- vendor/modules.txt | 2 +- 7 files changed, 9 insertions(+), 13 deletions(-) diff --git a/go.mod b/go.mod index f5fab9614e6..059074041c1 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/aws-sdk-go v1.55.5 github.com/aws/aws-sdk-go-v2/service/sts v1.33.2 github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000 - github.com/ceph/go-ceph v0.30.1-0.20241102143109-75d1af3ed638 + github.com/ceph/go-ceph v0.31.0 github.com/container-storage-interface/spec v1.11.0 github.com/csi-addons/spec v0.2.1-0.20241104111131-27825f744db5 github.com/gemalto/kmip-go v0.0.10 diff --git a/go.sum b/go.sum index 4608424b5c5..8535fe4ec08 100644 --- a/go.sum +++ b/go.sum @@ -1445,8 +1445,8 @@ github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyY github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/ceph/go-ceph v0.30.1-0.20241102143109-75d1af3ed638 h1:J/IBLjrHABhgi8okkxodSxhOPPCXhdBSt/i5OjyA9Ug= -github.com/ceph/go-ceph v0.30.1-0.20241102143109-75d1af3ed638/go.mod h1:E2MAGzr1oBwrWpN6OPgQ8fjxqmJAwr4/0+ZixxTvs7A= +github.com/ceph/go-ceph v0.31.0 h1:3yqMVsRN89VyMhJ+qiF91mQHw4RBjbWVVERGX7bYxkk= +github.com/ceph/go-ceph v0.31.0/go.mod h1:VnMYp08oE2o2of29p/oGkxnM8VNF/+LJyVQ5pZSj3Wg= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= diff --git a/vendor/github.com/ceph/go-ceph/cephfs/errors.go b/vendor/github.com/ceph/go-ceph/cephfs/errors.go index ab28f0921c0..5643499abbd 100644 --- a/vendor/github.com/ceph/go-ceph/cephfs/errors.go +++ b/vendor/github.com/ceph/go-ceph/cephfs/errors.go @@ -37,6 +37,9 @@ var ( ErrNotConnected = getError(-C.ENOTCONN) // ErrNotExist indicates a non-specific missing resource. ErrNotExist = getError(-C.ENOENT) + // ErrOpNotSupported is returned in general for operations that are not + // supported. + ErrOpNotSupported = getError(-C.EOPNOTSUPP) // Private errors: diff --git a/vendor/github.com/ceph/go-ceph/rados/read_op_exec.go b/vendor/github.com/ceph/go-ceph/rados/read_op_exec.go index 44d6d18e81b..d2fd7d824c0 100644 --- a/vendor/github.com/ceph/go-ceph/rados/read_op_exec.go +++ b/vendor/github.com/ceph/go-ceph/rados/read_op_exec.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package rados // #cgo LDFLAGS: -lrados diff --git a/vendor/github.com/ceph/go-ceph/rados/write_op_exec.go b/vendor/github.com/ceph/go-ceph/rados/write_op_exec.go index 8f7fc07f3a0..1622030459a 100644 --- a/vendor/github.com/ceph/go-ceph/rados/write_op_exec.go +++ b/vendor/github.com/ceph/go-ceph/rados/write_op_exec.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package rados // #cgo LDFLAGS: -lrados diff --git a/vendor/github.com/ceph/go-ceph/rbd/clone_image_by_id.go b/vendor/github.com/ceph/go-ceph/rbd/clone_image_by_id.go index f1adf485cce..fde2e6d5e07 100644 --- a/vendor/github.com/ceph/go-ceph/rbd/clone_image_by_id.go +++ b/vendor/github.com/ceph/go-ceph/rbd/clone_image_by_id.go @@ -1,5 +1,3 @@ -//go:build ceph_preview - package rbd /* @@ -50,7 +48,8 @@ var ( // uint64_t p_snap_id, rados_ioctx_t c_ioctx, // const char *c_name, rbd_image_options_t c_opts); func CloneImageByID(ioctx *rados.IOContext, parentName string, snapID uint64, - destctx *rados.IOContext, name string, rio *ImageOptions) error { + destctx *rados.IOContext, name string, rio *ImageOptions, +) error { if rio == nil { return getError(C.EINVAL) } diff --git a/vendor/modules.txt b/vendor/modules.txt index bfb1aa3b9e3..95f3ca834ba 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -204,7 +204,7 @@ github.com/ceph/ceph-csi/api/deploy/kubernetes/cephfs github.com/ceph/ceph-csi/api/deploy/kubernetes/nfs github.com/ceph/ceph-csi/api/deploy/kubernetes/rbd github.com/ceph/ceph-csi/api/deploy/ocp -# github.com/ceph/go-ceph v0.30.1-0.20241102143109-75d1af3ed638 +# github.com/ceph/go-ceph v0.31.0 ## explicit; go 1.19 github.com/ceph/go-ceph/cephfs github.com/ceph/go-ceph/cephfs/admin