mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: use the go-ceph master branch
The main change that is useful, is the new rbd.ErrExist error. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
committed by
mergify[bot]
parent
10076ca11f
commit
9267210da4
4
vendor/github.com/ceph/go-ceph/rbd/snapshot_octopus.go
generated
vendored
4
vendor/github.com/ceph/go-ceph/rbd/snapshot_octopus.go
generated
vendored
@ -50,8 +50,8 @@ func (image *Image) GetSnapByID(snapID uint64) (string, error) {
|
||||
err error
|
||||
)
|
||||
// range from 1k to 64KiB
|
||||
retry.WithSizes(1024, 1<<16, func(len int) retry.Hint {
|
||||
cLen := C.size_t(len)
|
||||
retry.WithSizes(1024, 1<<16, func(length int) retry.Hint {
|
||||
cLen := C.size_t(length)
|
||||
buf = make([]byte, cLen)
|
||||
ret := C.rbd_snap_get_name(
|
||||
image.image,
|
||||
|
Reference in New Issue
Block a user