Re: Suggest to return [] when no image in the pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/07/2011 01:43 AM, Eric_YH_Chen@xxxxxxxxxxx wrote:
Hi, developers,

When I used the API in rbd.py,

I found RBD().list(ioctx) would return [""] when there is no image in the pool.

I suggest it should return [] in this case. It would avoid some programming problem. Thanks!

regards,

Eric/Pjack

Fixed by 34d80397f73a847f31aad6f00afd0eeb3d526ca0. Thanks for reporting this!

Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux