diff --git a/go.mod b/go.mod index f5fab9614..059074041 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 4608424b5..8535fe4ec 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 ab28f0921..5643499ab 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 44d6d18e8..d2fd7d824 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 8f7fc07f3..162203045 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 f1adf485c..fde2e6d5e 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 bfb1aa3b9..95f3ca834 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