rados: add 'implements' subsection to GetPoolStats doc comment

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-01-22 14:08:04 -05:00 committed by John Mulligan
parent 8cdeebc38f
commit f6a143f24f
1 changed files with 4 additions and 0 deletions

View File

@ -190,6 +190,10 @@ func (ioctx *IOContext) Destroy() {
// GetPoolStats returns a set of statistics about the pool associated with this I/O
// context.
//
// Implements:
// int rados_ioctx_pool_stat(rados_ioctx_t io,
// struct rados_pool_stat_t *stats);
func (ioctx *IOContext) GetPoolStats() (stat PoolStat, err error) {
c_stat := C.struct_rados_pool_stat_t{}
ret := C.rados_ioctx_pool_stat(ioctx.ioctx, &c_stat)