Fix the "use storpool's api for attach/detach" patch

Change-Id: I59bc8aef2c8b5fbfe5263213a44d9b53956e1f5e
diff --git a/patches/openstack/os-brick/attach-globalid.patch b/patches/openstack/os-brick/attach-globalid.patch
index 6e67a7d..9e7b7f4 100644
--- a/patches/openstack/os-brick/attach-globalid.patch
+++ b/patches/openstack/os-brick/attach-globalid.patch
@@ -1,4 +1,4 @@
-From 82be031a554d293307900236ed8f4c1737452891 Mon Sep 17 00:00:00 2001
+From 4c37d209a5968cfaf280bfb165691aff031b5e44 Mon Sep 17 00:00:00 2001
 From: Biser Milanov <biser.milanov@storpool.com>
 Date: Tue, 23 May 2023 17:55:09 +0300
 Subject: [PATCH] storpool.py: Use StorPool's API for Attach/Detach
@@ -18,7 +18,7 @@
  2 files changed, 132 insertions(+), 67 deletions(-)
 
 diff --git a/os_brick/initiator/connectors/storpool.py b/os_brick/initiator/connectors/storpool.py
-index e1bd55c..940b78f 100644
+index e1bd55c..ee4846e 100644
 --- a/os_brick/initiator/connectors/storpool.py
 +++ b/os_brick/initiator/connectors/storpool.py
 @@ -76,16 +76,29 @@ class StorPoolConnector(base.BaseLinuxConnector):
@@ -56,7 +56,7 @@
 +                'Communication with the StorPool API '
 +                'failed: %s' % (exc)) from exc
 +
-+        sp_global_id = volume_info["data"]["globalId"]
++        sp_global_id = volume_info.globalId
 +        return {'type': 'block', 'path': '/dev/storpool-byid/' + sp_global_id}
  
      @utils.connect_volume_undo_prepare_result(unlink_after=True)