There was an error while loading. Please reload this page.
1 parent db8d528 commit c163cb3Copy full SHA for c163cb3
1 file changed
packages/google-cloud-bigtable/google/cloud/bigtable/cluster.py
@@ -511,9 +511,11 @@ def delete(self):
511
def_to_pb(self):
512
"""Create cluster proto buff message for API calls"""
513
client=self._instance._client
514
-location=client.instance_admin_client.common_location_path(
515
-client.project, self.location_id
516
- )
+location=None
+ifself.location_id:
+location=client.instance_admin_client.common_location_path(
517
+client.project, self.location_id
518
+ )
519
520
cluster_pb=instance.Cluster(
521
location=location,
0 commit comments