Fix join of status_reason

At present, the status reason resolves to:

    default-master <reason> ,default-worker <reason>

It should be:

    default-master <reason>, default-worker <reason>

This minor patch fixes this.

Task: 39092
Story: 2007438

Change-Id: I3382da8d950279713861e14d97997d5a5205b1e7
(cherry picked from commit dfea2741f2)
This commit is contained in:
Bharat Kunwar 2020-03-17 11:24:55 +00:00 committed by Bharat Kunwar
parent 92c77246ad
commit 6ae483846d
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ class HeatPoller(object):
reasons = ["%s failed" % (ns.name)
for ns in ng_statuses
if ns.status.endswith(FAILED)]
self.cluster.status_reason = ' ,'.join(reasons)
self.cluster.status_reason = ', '.join(reasons)
self.cluster.save()