Skip to content

Commit

Permalink
Merge pull request #82 from Green-Software-Foundation/fix-azure
Browse files Browse the repository at this point in the history
Fix `azure-importer` ignores defaults and input parameter values in its outputs
  • Loading branch information
jmcook1186 authored May 22, 2024
2 parents 53acf40 + 402e6d0 commit 0e73386
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/azure-importer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0e73386

Please sign in to comment.