Skip to content

Commit

Permalink
Turn off cache discovery as it stacktraces noisily. See googleapis/go…
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontp committed Aug 29, 2017
1 parent 672ba19 commit 1bb115c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion turbinia/processors/google_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def _CreateService(self, service_name, api_version):
API service resource (apiclient.discovery.Resource)
"""
credentials = GoogleCredentials.get_application_default()
return build(service_name, api_version, credentials=credentials)
return build(service_name, api_version, credentials=credentials,
cache_discovery=False)

def _ExecuteOperation(self, service, operation, zone, block):
"""Executes API calls.
Expand Down

0 comments on commit 1bb115c

Please sign in to comment.