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

This commit is contained in:
Nicolas Chaulet 2020-04-24 11:11:27 -04:00 committed by GitHub
parent ee158cca43
commit d2a27acc6a
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