diff --git a/truenas_kmip_unlock.py b/truenas_kmip_unlock.py index 855b0b1..e833310 100644 --- a/truenas_kmip_unlock.py +++ b/truenas_kmip_unlock.py @@ -487,7 +487,7 @@ if __name__ == '__main__': logger.debug('Restarting the {} service'.format(services_to_restart[service_to_restart])) response = request('service/restart', api_key, 'POST', {'service': service_to_restart}) if response['ok']: - logger.debug('Service {} was restarted successfully'.format(services_to_restart[service_to_restart]) + logger.debug('Service {} was restarted successfully'.format(services_to_restart[service_to_restart]) else: logger.error('Service {} was NOT restarted'.format(services_to_restart[service_to_restart]) else: