@@ -31,7 +31,7 @@ def cli(env, identifier, uuid, interval, retry, timeout, url):
3131 mgr = SoftLayer .LoadBalancerManager (env .client )
3232 # Need to get the LBaaS uuid if it wasn't supplied
3333 lb_uuid , lb_id = mgr .get_lbaas_uuid_id (identifier )
34- print ("UUID: {}, ID: {}" . format ( lb_uuid , lb_id ) )
34+ print (f "UUID: { lb_uuid } , ID: { lb_id } " )
3535
3636 # Get the current health checks, and find the one we are updating.
3737 mask = "mask[healthMonitors, listeners[uuid,defaultPool[healthMonitor]]]"
@@ -58,7 +58,7 @@ def cli(env, identifier, uuid, interval, retry, timeout, url):
5858
5959 try :
6060 mgr .update_lb_health_monitors (lb_uuid , [check ])
61- click .secho ('Health Check {} updated successfully' . format ( uuid ) , fg = 'green' )
61+ click .secho (f 'Health Check { uuid } updated successfully' , fg = 'green' )
6262 except SoftLayerAPIError as exception :
63- click .secho ('Failed to update {}' . format ( uuid ) , fg = 'red' )
64- click .secho ("ERROR: {}" . format ( exception .faultString ) , fg = 'red' )
63+ click .secho (f 'Failed to update { uuid } ' , fg = 'red' )
64+ click .secho (f "ERROR: { exception .faultString } " , fg = 'red' )
0 commit comments