From 7cac1d4d644b96aa1ede709283fe366e352dbe03 Mon Sep 17 00:00:00 2001 From: huangpeng5 <1298695987@qq.com> Date: Fri, 12 Apr 2024 15:27:06 +0800 Subject: [PATCH] fix nfs share qury failed error --- Manila/file_driver_dir/huawei/oceanstorPacific/helper/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Manila/file_driver_dir/huawei/oceanstorPacific/helper/helper.py b/Manila/file_driver_dir/huawei/oceanstorPacific/helper/helper.py index 9b32604..1063d48 100644 --- a/Manila/file_driver_dir/huawei/oceanstorPacific/helper/helper.py +++ b/Manila/file_driver_dir/huawei/oceanstorPacific/helper/helper.py @@ -414,7 +414,7 @@ def query_nfs_share_information(self, account_id, fs_id, dtree_id=0): nfs_para = { "account_id": account_id, "filter": "[{\"fs_id\": %d, \"dtree_id\": \"%s\"}]" % - (fs_id, str(fs_id) + '@' + str(dtree_id)) + (fs_id, str(dtree_id)) } data = jsonutils.dumps(nfs_para) result = self.call(url, data, "GET")