update services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp.

Signed-off-by: sunxiaoqiang <sunxiaoqiang7@huawei.com>
This commit is contained in:
sunxiaoqiang 2024-10-23 10:00:07 +00:00 committed by Gitee
parent 5c5ba5dfe4
commit b16cabce09
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -232,6 +232,7 @@ napi_value GetVolumeByUuid(napi_env env, napi_callback_info info)
volumeObject.AddProp("state", NVal::CreateInt32(env, volumeInfo->GetState()).val_);
volumeObject.AddProp("path", NVal::CreateUTF8String(env, volumeInfo->GetPath()).val_);
volumeObject.AddProp("fsType", NVal::CreateUTF8String(env, volumeInfo->GetFsTypeString()).val_);
volumeObject.AddProp("flags", NVal::CreateInt32(env, volumeInfo->GetFlags()).val_);
return volumeObject;
};