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:
parent
92c77246ad
commit
6ae483846d
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue