mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-18 23:38:12 +00:00
Remove the 'Stopped' status for services
It's not an official status from container inspects, and the Supervisor doesn't set it internally anywhere. It's better to remove it entirely as the method by which Supervisor sets internal service statuses is by using a global event emitter (reportNewStatus) which makes things difficult to test. Change-type: patch Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
committed by
Felipe Lalanne
parent
098494d6f4
commit
38fe8dae75
@ -1309,7 +1309,7 @@ describe('compose/application-manager', () => {
|
||||
{
|
||||
commit: 'oldrelease',
|
||||
serviceName: 'fedora',
|
||||
status: 'Stopped',
|
||||
status: 'exited',
|
||||
createdAt: new Date('2021-09-01T12:00:00'),
|
||||
},
|
||||
{
|
||||
@ -1317,7 +1317,7 @@ describe('compose/application-manager', () => {
|
||||
appUuid: 'debian',
|
||||
commit: 'otherrelease',
|
||||
serviceName: 'debian',
|
||||
status: 'Stopped',
|
||||
status: 'exited',
|
||||
createdAt: new Date('2021-09-01T12:00:00'),
|
||||
},
|
||||
]);
|
||||
@ -1351,7 +1351,7 @@ describe('compose/application-manager', () => {
|
||||
services: {
|
||||
fedora: {
|
||||
image: 'fedora:older',
|
||||
status: 'Stopped',
|
||||
status: 'exited',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user