intel / virtual-storage-manager

Other
162 stars 100 forks source link

scheduler: add flag to judge success or error in add_storage_group_to… #564

Closed zhengchengyao closed 7 years ago

zhengchengyao commented 8 years ago

…_crushmap_and_db

we know ret.get('error_code') is alway equal to zero, although it does not

add storage group, it also return 'success'.So I fix message, when it does not

add stoage group, it return 'error'.