Make heat container remove silent.

This was being called multiple times and causing an error msg.  This just
ensures cleanup so we don't need to know if it failed.

Change-Id: I6ae122b60274b77758b6c633904b55e2e0d74bed
This commit is contained in:
Ian Main 2017-10-06 18:01:23 -04:00
parent 27bba766da
commit b7ced4ec02
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ class HeatDockerLauncher(HeatBaseLauncher):
def kill_heat(self, pid):
cmd = ['docker', 'rm', '-f', 'heat_all']
log.debug(' '.join(cmd))
subprocess.check_call(cmd)
# We don't want to hear from this command..
subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
class HeatNativeLauncher(HeatBaseLauncher):