Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalabka committed Sep 19, 2024
1 parent 042be94 commit 1d4546b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dask_cloudprovider/gcp/instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

try:
import googleapiclient.discovery
import google.auth.default
from google.auth import default as google_auth_default
from googleapiclient.errors import HttpError
except ImportError as e:
msg = (
Expand Down Expand Up @@ -672,7 +672,7 @@ def refresh_client(self):
)
else:
# Obtain Application Default Credentials
credentials, _ = google.auth.default()
credentials, _ = google_auth_default()

# Use the credentials to build a service client
return googleapiclient.discovery.build(
Expand Down

0 comments on commit 1d4546b

Please sign in to comment.