This commit is contained in:
@@ -31,7 +31,7 @@ export async function GET() {
|
||||
cache.status === 'ready' && readyHosts.some((host) => host.id === cache.hostId)
|
||||
)
|
||||
);
|
||||
const runtimes = connected.filter((host) => host.inventory.runtimeImages?.length);
|
||||
const runtimes = connected.filter((host) => host.inventory.preparedRuntimeImages?.length);
|
||||
const checks: SetupCheck[] = [
|
||||
{
|
||||
id: 'hosts',
|
||||
@@ -46,7 +46,7 @@ export async function GET() {
|
||||
title: 'Plutainer runtime',
|
||||
state: runtimes.length ? 'ready' : 'attention',
|
||||
detail: runtimes.length
|
||||
? `${runtimes.length} connected hosts report cached runtime images.`
|
||||
? `${runtimes.length} connected hosts report prepared runtime images.`
|
||||
: 'Hosts prepare the configured Plutainer runtime automatically.',
|
||||
href: '/hosts',
|
||||
action: 'View host setup'
|
||||
|
||||
Reference in New Issue
Block a user