container_systemd: improve logging

Change the wording when a container will be added to the list of
containers that will be restarted, so it's not confusing.

Change-Id: Ieb50138b5c1d35fa3c59dd368a58c1af3f61807b
This commit is contained in:
Emilien Macchi 2020-07-09 07:51:43 -04:00
parent 942b3d9c69
commit 32bc4a4639
1 changed files with 2 additions and 2 deletions

View File

@ -338,8 +338,8 @@ class ActionModule(ActionBase):
)
if service_stat.get('stat', {}).get('exists', False):
if self.debug:
DISPLAY.display('Systemd unit file found for {}, the '
'container will be restarted'.format(c))
DISPLAY.display('This container will be '
'restarted: {}'.format(c))
extra_restarts.append(c)
container_names = []