should abort on daos init if pool/cont/svcl not specified.
Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@intel.com>master
parent
2ae7c29de2
commit
9f9730d6fd
|
@ -258,8 +258,11 @@ DAOS_Init()
|
|||
if (daos_initialized)
|
||||
return;
|
||||
|
||||
if (o.pool == NULL || o.svcl == NULL || o.cont == NULL)
|
||||
if (o.pool == NULL || o.svcl == NULL || o.cont == NULL) {
|
||||
GERR("Invalid DAOS pool/cont\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (o.oclass)
|
||||
ObjectClassParse(o.oclass);
|
||||
|
||||
|
|
Loading…
Reference in New Issue