Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
resource-agents.20893
0001-Disable-google-api-cache-discovery.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Disable-google-api-cache-discovery.patch of Package resource-agents.20893
From 958f7410cc2cfc486f91a91419b940f91df34e14 Mon Sep 17 00:00:00 2001 From: Xabier Arbulu Insausti <xarbulu@suse.com> Date: Mon, 13 Apr 2020 10:58:00 +0100 Subject: [PATCH 1/1] Disable google api cache discovery The underlying google api code cache discovery process uses deprecated code. In order to avoid the usage of that code and the related warning messages the cache usage is disabled --- heartbeat/gcp-vpc-move-route.in | 2 +- heartbeat/gcp-vpc-move-vip.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heartbeat/gcp-vpc-move-route.in b/heartbeat/gcp-vpc-move-route.in index 7dd47150..d8e8ea8d 100644 --- a/heartbeat/gcp-vpc-move-route.in +++ b/heartbeat/gcp-vpc-move-route.in @@ -202,7 +202,7 @@ def validate(ctx): sys.exit(OCF_ERR_PERM) try: - ctx.conn = googleapiclient.discovery.build('compute', 'v1') + ctx.conn = googleapiclient.discovery.build('compute', 'v1', cache_discovery=False) except Exception as e: logger.error('Couldn\'t connect with google api: ' + str(e)) sys.exit(OCF_ERR_CONFIGURED) -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor