Skip to content

Commit a8843ba

Browse files
J JayasilanJ Jayasilan
authored andcommitted
Change of f-string to %s in logging function
1 parent 6272799 commit a8843ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/virt/detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def _cli_helper_dedicated_host(env, result, table):
175175
dedicated_host = env.client.call('Virtual_DedicatedHost', 'getObject',
176176
id=dedicated_host_id)
177177
except SoftLayer.SoftLayerAPIError:
178-
LOGGER.error(f'Unable to get dedicated host id {dedicated_host_id}')
178+
LOGGER.error('Unable to get dedicated host id %s', dedicated_host_id)
179179
dedicated_host = {}
180180
table.add_row(['dedicated_host',
181181
dedicated_host.get('name') or formatting.blank()])

0 commit comments

Comments
 (0)