We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee748de commit c1477f8Copy full SHA for c1477f8
SoftLayer/managers/load_balancer.py
@@ -96,7 +96,7 @@ def get_lbaas_uuid_id(self, identifier):
96
:return (uuid, id):
97
"""
98
mask = "mask[id,uuid]"
99
- if isinstance(identifier, int):
+ if isinstance(identifier, int) or identifier.isdigit():
100
this_lb = self.lbaas.getObject(id=identifier, mask=mask)
101
elif len(identifier) == 36 and utils.UUID_RE.match(identifier):
102
this_lb = self.lbaas.getLoadBalancer(identifier, mask=mask)
0 commit comments