Suggest to return [] when no image in the pool

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

 



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

��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[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