Skip to content

Commit

Permalink
Correct path in call to 'removeEmptyEnvironmentVariables'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Oct 31, 2023
1 parent cc1e363 commit 95c9c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/batch/job_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func resourceJobDefinitionCreate(ctx context.Context, d *schema.ResourceData, me
}

for _, node := range props.NodeRangeProperties {
removeEmptyEnvironmentVariables(&diags, node.Container.Environment, cty.GetAttrPath("container_properties"))
removeEmptyEnvironmentVariables(&diags, node.Container.Environment, cty.GetAttrPath("node_properties"))
}
input.NodeProperties = props
}
Expand Down

0 comments on commit 95c9c62

Please sign in to comment.