Commit 01289c94 authored by Sridutt Bhalachandra's avatar Sridutt Bhalachandra
Browse files

[Fix] Handle container with no power profiling

Handles container with no power profiling enabled in the manifest file.
In such cases the 'exit' response on process termination would generate
parent c142c589
Pipeline #4175 passed with stages
in 54 seconds
......@@ -214,6 +214,7 @@ class Daemon(object):
if not remaining_pids:
msg['type'] = 'exit'
msg['profile_data'] = dict()
pp = container.power
if pp['policy']:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment