From 3ac0e0e3408d958f0d45e3401f9fdfd9abcb2ef5 Mon Sep 17 00:00:00 2001 From: Vikentiy Fesunov Date: Thu, 19 Dec 2024 12:04:14 +0000 Subject: [PATCH] Update getter names --- scenarios/aws/ec2/vm_run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenarios/aws/ec2/vm_run.go b/scenarios/aws/ec2/vm_run.go index 4d3fa6470..23935c6ce 100644 --- a/scenarios/aws/ec2/vm_run.go +++ b/scenarios/aws/ec2/vm_run.go @@ -105,11 +105,11 @@ func VMRunWithDocker(ctx *pulumi.Context) error { agentOptions = append(agentOptions, dockeragentparams.WithImageTag(env.AgentVersion())) } - if env.GetJMX() { + if env.AgentJMX() { agentOptions = append(agentOptions, dockeragentparams.WithJMX()) } - if env.GetFIPS() { + if env.AgentFIPS() { agentOptions = append(agentOptions, dockeragentparams.WithFIPS()) }