49a513e01e
- fence_gce: use default credentials from googleapiclient - fence_gce: fix regression - missing import oauth2client.client - fence_gce: fix regression - missing import googleapiclient.discovery - Add 0002-fence_gce-fix-regression-missing-import-googleapicli.patch - Add 0003-fence_gce-fix-regression-missing-import-oauth2client.patch - Add 0004-fence_gce-use-default-credentials-from-googleapiclie.patch - Add 0005-run_command-fix-Python-3-encoding-issue.patch OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/fence-agents?expand=0&rev=87
29 lines
898 B
Diff
29 lines
898 B
Diff
From e22d41504ee53e5a4a72009581d4d69e9ae7447b Mon Sep 17 00:00:00 2001
|
|
From: Helen Koike <helen.koike@collabora.com>
|
|
Date: Fri, 20 Apr 2018 01:59:38 -0300
|
|
Subject: [PATCH 2/5] fence_gce: fix regression - missing import
|
|
googleapiclient.discovery
|
|
|
|
import googleapiclient.discovery was missing
|
|
import googleapiclient is not required
|
|
---
|
|
fence/agents/gce/fence_gce.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/fence/agents/gce/fence_gce.py b/fence/agents/gce/fence_gce.py
|
|
index c1f8b16f..04d59846 100644
|
|
--- a/fence/agents/gce/fence_gce.py
|
|
+++ b/fence/agents/gce/fence_gce.py
|
|
@@ -4,7 +4,7 @@ import atexit
|
|
import sys
|
|
sys.path.append("@FENCEAGENTSLIBDIR@")
|
|
|
|
-import googleapiclient
|
|
+import googleapiclient.discovery
|
|
import oauth2client
|
|
from fencing import fail_usage, run_delay, all_opt, atexit_handler, check_input, process_input, show_docs, fence_action
|
|
|
|
--
|
|
2.16.3
|
|
|