From 402e6d09c328d8c6da568ae95af1b48d07385a25 Mon Sep 17 00:00:00 2001 From: manushak Date: Tue, 14 May 2024 19:31:38 +0400 Subject: [PATCH] fix(lib): fix merging input with the config --- src/lib/azure-importer/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/azure-importer/index.ts b/src/lib/azure-importer/index.ts index 02785e0..90814ed 100644 --- a/src/lib/azure-importer/index.ts +++ b/src/lib/azure-importer/index.ts @@ -38,8 +38,9 @@ export const AzureImporter = (): PluginInterface => { for await (const input of inputs) { const mergedWithConfig = Object.assign( {}, - validateInput(input), - validatedConfig + validatedConfig, + input, + validateInput(input) ); const azureInput = mapInputToAzureInputs(mergedWithConfig); const rawResults = await getVmUsage(azureInput);