diff --git a/src/plugin-context.ts b/src/plugin-context.ts index 2433517daf..ea9af63bf1 100644 --- a/src/plugin-context.ts +++ b/src/plugin-context.ts @@ -486,15 +486,15 @@ export function createPluginContext(garden: Garden): PluginContext { getStatus: async () => { const envStatus: EnvironmentStatusMap = await ctx.getEnvironmentStatus({}) - const services = await ctx.getServices() + const services = keyBy(await ctx.getServices(), "name") - const serviceStatus = await Bluebird.map( - services, (service: Service) => ctx.getServiceStatus({ serviceName: service.name }), - ) + const serviceStatus = await Bluebird.props(mapValues(services, + (service: Service) => ctx.getServiceStatus({ serviceName: service.name }), + )) return { providers: envStatus, - services: keyBy(serviceStatus, "name"), + services: serviceStatus, } },