This commit is contained in:
Yonas Dresen 2025-04-23 16:26:22 +08:00 committed by GitHub
commit ae1005e9de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,7 +243,7 @@ class GcpInstance(object):
name = None
if order.startswith("labels."):
if "labels" in self.json:
name = self.json["labels"].get(order[7:])
name = self.json[u"labels"].get(order[7:])
elif order == "public_ip":
name = self._get_publicip()
elif order == "private_ip":