We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8487b1 commit 5bea519Copy full SHA for 5bea519
SoftLayer/managers/load_balancer.py
@@ -302,9 +302,12 @@ def get_lb_uuid(self, identifier):
302
303
:param identifier int: loadbalancer identifier.
304
"""
305
- lb = self.lbaas.getObject(id=identifier, mask="mask[id,uuid]")
306
- return lb.get('uuid')
+ load_balancer = self.lbaas.getObject(id=identifier, mask="mask[id,uuid]")
+ return load_balancer.get('uuid')
307
308
def get_lb_type(self, lb_type):
309
+ """return the loadbalancer type.
310
311
+ :param lb_type: load balancer type
312
+ """
313
return SoftLayer.LoadBalancerManager.TYPE.get(lb_type)
0 commit comments