Skip to content

Commit 5bea519

Browse files
caberoscaberos
authored andcommitted
fix tox tool
1 parent e8487b1 commit 5bea519

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

SoftLayer/managers/load_balancer.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,12 @@ def get_lb_uuid(self, identifier):
302302
303303
:param identifier int: loadbalancer identifier.
304304
"""
305-
lb = self.lbaas.getObject(id=identifier, mask="mask[id,uuid]")
306-
return lb.get('uuid')
305+
load_balancer = self.lbaas.getObject(id=identifier, mask="mask[id,uuid]")
306+
return load_balancer.get('uuid')
307307

308308
def get_lb_type(self, lb_type):
309+
"""return the loadbalancer type.
309310
311+
:param lb_type: load balancer type
312+
"""
310313
return SoftLayer.LoadBalancerManager.TYPE.get(lb_type)

0 commit comments

Comments
 (0)