mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
rebase: bump github.com/ceph/go-ceph
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.29.1-0.20240925141413-065319c78733 to 0.30.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.30.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] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
3bcf6afe30
commit
9152b4c2c7
4
vendor/github.com/ceph/go-ceph/rbd/snapshot.go
generated
vendored
4
vendor/github.com/ceph/go-ceph/rbd/snapshot.go
generated
vendored
@ -33,7 +33,7 @@ func (image *Image) CreateSnapshot(snapname string) (*Snapshot, error) {
|
||||
|
||||
ret := C.rbd_snap_create(image.image, cSnapName)
|
||||
if ret < 0 {
|
||||
return nil, rbdError(ret)
|
||||
return nil, getError(ret)
|
||||
}
|
||||
|
||||
return &Snapshot{
|
||||
@ -147,7 +147,7 @@ func (snapshot *Snapshot) IsProtected() (bool, error) {
|
||||
ret := C.rbd_snap_is_protected(snapshot.image.image, cSnapName,
|
||||
&cIsProtected)
|
||||
if ret < 0 {
|
||||
return false, rbdError(ret)
|
||||
return false, getError(ret)
|
||||
}
|
||||
|
||||
return cIsProtected != 0, nil
|
||||
|
Reference in New Issue
Block a user