Skip to content

Commit 49ba05b

Browse files
committed
use Client._validate_universe_domain
1 parent 5fcfa0f commit 49ba05b

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • packages/google-cloud-dns/google/cloud/dns

‎packages/google-cloud-dns/google/cloud/dns/client.py‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
"""Client for interacting with the Google Cloud DNS API."""
1616

1717
from google.api_core import page_iterator
18-
from google.cloud.client import (
19-
ClientWithProject,
20-
_validate_credentials_universe,
21-
)
18+
from google.cloud.client import ClientWithProject
2219

2320
from google.cloud.dns._http import Connection
2421
from google.cloud.dns.zone import ManagedZone
@@ -78,7 +75,7 @@ def __init__(
7875
client_options=client_options,
7976
_http=_http,
8077
)
81-
_validate_credentials_universe(self._universe_domain, self._credentials)
78+
self._validate_universe_domain()
8279
self._connection = Connection(self, client_info=client_info)
8380

8481
def quotas(self):

0 commit comments

Comments
 (0)