[Fleet] Fix agent status count to not include unenrolled agents (#64106)

This commit is contained in:
Nicolas Chaulet 2020-04-24 09:01:23 -04:00 committed by GitHub
parent 6d099d0a4f
commit 0dcefe8dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ export async function getAgentStatusForConfig(
AgentStatusKueryHelper.buildKueryForOfflineAgents(),
].map(kuery =>
listAgents(soClient, {
showInactive: true,
showInactive: false,
perPage: 0,
page: 1,
kuery: configId