Tendrl / ceph-integration

Extracts all data from a Ceph cluster for consumption by Tendrl
GNU Lesser General Public License v2.1
3 stars 11 forks source link

Unwanted assert #323

Closed rishubhjain closed 7 years ago

rishubhjain commented 7 years ago

https://github.com/Tendrl/ceph-integration/blob/develop/tendrl/ceph_integration/sds_sync/__init__.py#L710 has assert statement but I guess a simple if condition could be used instead of assert. Does it have any other use?

r0h4n commented 7 years ago

We should raise an exception if the fsid's dont match