Skip to content

Commit

Permalink
DATAGO-79772 PR review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rudraneel-chakraborty committed Jul 10, 2024
1 parent 294fff0 commit ad6d884
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.solace.maas.ep.event.management.agent.plugin.command.model.CommandResult;
import com.solace.maas.ep.event.management.agent.plugin.command.model.JobStatus;
import com.solace.maas.ep.event.management.agent.plugin.constants.RouteConstants;
import com.solace.maas.ep.event.management.agent.plugin.messagingService.event.EventProperty;
import com.solace.maas.ep.event.management.agent.plugin.terraform.client.TerraformClient;
import com.solace.maas.ep.event.management.agent.plugin.terraform.client.TerraformClientFactory;
import com.solace.maas.ep.event.management.agent.plugin.terraform.configuration.TerraformProperties;
Expand Down Expand Up @@ -38,7 +37,6 @@ public class TerraformManager {
private final TerraformProperties terraformProperties;
private final TerraformClientFactory terraformClientFactory;


public TerraformManager(TerraformLogProcessingService terraformLogProcessingService,
TerraformProperties terraformProperties,
TerraformClientFactory terraformClientFactory) {
Expand All @@ -47,9 +45,7 @@ public TerraformManager(TerraformLogProcessingService terraformLogProcessingServ
this.terraformClientFactory = terraformClientFactory;
}

public Path execute(CommandRequest request,
Command command,
Map<String, String> envVars) {
public Path execute(CommandRequest request, Command command, Map<String, String> envVars) {
MDC.put(RouteConstants.COMMAND_CORRELATION_ID, request.getCommandCorrelationId());
MDC.put(RouteConstants.MESSAGING_SERVICE_ID, request.getServiceId());
setEnvVarsFromParameters(command, envVars);
Expand Down

0 comments on commit ad6d884

Please sign in to comment.