mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: bump github.com/ceph/go-ceph from 0.22.0 to 0.23.0
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.22.0 to 0.23.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/compare/v0.22.0...v0.23.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
6b6257c45f
commit
ef84a10910
16
vendor/github.com/ceph/go-ceph/rbd/snapshot_nautilus.go
generated
vendored
16
vendor/github.com/ceph/go-ceph/rbd/snapshot_nautilus.go
generated
vendored
@ -67,8 +67,12 @@ func (image *Image) GetParentInfo(pool, name, snapname []byte) error {
|
||||
|
||||
// ImageSpec represents the image information.
|
||||
type ImageSpec struct {
|
||||
ImageName string
|
||||
PoolName string
|
||||
ImageName string
|
||||
ImageID string
|
||||
PoolName string
|
||||
PoolNamespace string
|
||||
PoolID uint64
|
||||
Trash bool
|
||||
}
|
||||
|
||||
// SnapSpec represents the snapshot infomation.
|
||||
@ -104,8 +108,12 @@ func (image *Image) GetParent() (*ParentInfo, error) {
|
||||
defer C.rbd_snap_spec_cleanup(&parentSnap)
|
||||
|
||||
imageSpec := ImageSpec{
|
||||
ImageName: C.GoString(parentImage.image_name),
|
||||
PoolName: C.GoString(parentImage.pool_name),
|
||||
ImageName: C.GoString(parentImage.image_name),
|
||||
ImageID: C.GoString(parentImage.image_id),
|
||||
PoolName: C.GoString(parentImage.pool_name),
|
||||
PoolNamespace: C.GoString(parentImage.pool_namespace),
|
||||
PoolID: uint64(parentImage.pool_id),
|
||||
Trash: bool(parentImage.trash),
|
||||
}
|
||||
|
||||
snapSpec := SnapSpec{
|
||||
|
Reference in New Issue
Block a user