This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit f26c6b5e94ccc658e365241880abd702c7c82da7
Author: Poul Petersen <[email protected]>
AuthorDate: Wed Sep 2 18:26:25 2020 -0700

    Adds the users field to the extra info in a storage volume making it 
possible to see if and where a volume is attached
---
 libcloud/compute/drivers/gce.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index dbc3977..ccefa0b 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -9137,6 +9137,7 @@ class GCENodeDriver(NodeDriver):
         extra['options'] = volume.get('options')
         extra['labels'] = volume.get('labels', {})
         extra['labelFingerprint'] = volume.get('labelFingerprint')
+        extra['users'] = volume.get('users', [])
 
         if 'licenses' in volume:
             lic_objs = self._licenses_from_urls(licenses=volume['licenses'])

Reply via email to