Explorar o código

Add another small fix.

baizhang %!s(int64=8) %!d(string=hai) anos
pai
achega
751b26b91c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      cloudbridge/cloud/providers/gce/provider.py

+ 1 - 2
cloudbridge/cloud/providers/gce/provider.py

@@ -311,8 +311,7 @@ class GCECloudProvider(BaseCloudProvider):
         if resource_url is None:
             return None
         try:
-            res = resource_url.get_resource()
-            return res
+            return resource_url.get_resource()
         except googleapiclient.errors.HttpError as http_error:
             cb.log.warning(
                 "googleapiclient.errors.HttpError: {0}".format(http_error))