Skip to content

Commit

Permalink
Adding support mirror group APIs
Browse files Browse the repository at this point in the history
Signed-off-by: sp98 <[email protected]>
  • Loading branch information
sp98 committed Aug 7, 2024
1 parent f60137a commit 99711ef
Show file tree
Hide file tree
Showing 3 changed files with 626 additions and 3 deletions.
10 changes: 7 additions & 3 deletions rbd/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ func GroupImageAdd(groupIoctx *rados.IOContext, groupName string,
cephIoctx(groupIoctx),
cGroupName,
cephIoctx(imageIoctx),
cImageName)
cImageName,
C.uint32_t(0),
)
return getError(ret)
}

Expand All @@ -135,7 +137,8 @@ func GroupImageRemove(groupIoctx *rados.IOContext, groupName string,
cephIoctx(groupIoctx),
cGroupName,
cephIoctx(imageIoctx),
cImageName)
cImageName,
C.uint32_t(0))
return getError(ret)
}

Expand All @@ -160,7 +163,8 @@ func GroupImageRemoveByID(groupIoctx *rados.IOContext, groupName string,
cephIoctx(groupIoctx),
cGroupName,
cephIoctx(imageIoctx),
cid)
cid,
C.uint32_t(0))
return getError(ret)
}

Expand Down
Loading

0 comments on commit 99711ef

Please sign in to comment.