From d53b1b380c539b1f9d9c55cbf0bbdf7d8d888748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Cabrera=20Mart=C3=ADnez?= Date: Fri, 7 Sep 2018 11:05:17 +0100 Subject: [PATCH] refactor: avoid file_cache warning --- manage-cluster-state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage-cluster-state b/manage-cluster-state index 53d1ff1..6e47216 100644 --- a/manage-cluster-state +++ b/manage-cluster-state @@ -220,7 +220,7 @@ class GoogleCloudProvider(CloudProvider): project_name = response.text credentials = oauth2client.client.GoogleCredentials.get_application_default() - compute = googleapiclient.discovery.build('compute', 'v1', credentials=credentials) + compute = googleapiclient.discovery.build('compute', 'v1', credentials=credentials, cache_discovery=False) zones = compute.zones().list(project=project_name).execute() instances = []