From b16cabce09a4ec30dd297d1c065eb6bf5b3c2631 Mon Sep 17 00:00:00 2001 From: sunxiaoqiang Date: Wed, 23 Oct 2024 10:00:07 +0000 Subject: [PATCH] update services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp. Signed-off-by: sunxiaoqiang --- .../storage_manager/kits_impl/src/volumemanager_n_exporter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp b/services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp index 2f8ddd1b..e7ec5b9a 100644 --- a/services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp +++ b/services/storage_manager/kits_impl/src/volumemanager_n_exporter.cpp @@ -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; };