diff --git a/tests/scalers/aws/aws_managed_prometheus/aws_managed_prometheus_test.go b/tests/scalers/aws/aws_managed_prometheus/aws_managed_prometheus_test.go index 90315095889..995e9b0aae2 100644 --- a/tests/scalers/aws/aws_managed_prometheus/aws_managed_prometheus_test.go +++ b/tests/scalers/aws/aws_managed_prometheus/aws_managed_prometheus_test.go @@ -152,7 +152,7 @@ func TestScaler(t *testing.T) { t.Log("--- cleaning up ---") deleteWSInput := amp.DeleteWorkspaceInput{ - WorkspaceId: &workspaceId, + WorkspaceId: &workspaceID, } input := &deleteWSInput _, err := ampClient.DeleteWorkspace(context.Background(), input) @@ -171,7 +171,7 @@ func getTemplateData() (templateData, []Template) { AwsRegion: awsRegion, DeploymentName: deploymentName, ScaledObjectName: scaledObjectName, - WorkspaceID: workspaceId, + WorkspaceID: workspaceID, }, []Template{ {Name: "deploymentTemplate", Config: deploymentTemplate}, {Name: "triggerAuthenticationTemplate", Config: triggerAuthenticationTemplate}, diff --git a/tests/scalers/aws/aws_managed_prometheus_pod_identity/aws_managed_prometheus_pod_identity_test.go b/tests/scalers/aws/aws_managed_prometheus_pod_identity/aws_managed_prometheus_pod_identity_test.go index e4b4afdae42..d5272b1330d 100644 --- a/tests/scalers/aws/aws_managed_prometheus_pod_identity/aws_managed_prometheus_pod_identity_test.go +++ b/tests/scalers/aws/aws_managed_prometheus_pod_identity/aws_managed_prometheus_pod_identity_test.go @@ -138,7 +138,7 @@ func TestScaler(t *testing.T) { t.Log("--- cleaning up ---") deleteWSInput := amp.DeleteWorkspaceInput{ - WorkspaceId: &workspaceId, + WorkspaceId: &workspaceID, } input := &deleteWSInput _, err := ampClient.DeleteWorkspace(context.Background(), input) @@ -157,7 +157,7 @@ func getTemplateData() (templateData, []Template) { AwsRegion: awsRegion, DeploymentName: deploymentName, ScaledObjectName: scaledObjectName, - WorkspaceID: workspaceId, + WorkspaceID: workspaceID, }, []Template{ {Name: "deploymentTemplate", Config: deploymentTemplate}, {Name: "triggerAuthenticationTemplate", Config: triggerAuthenticationTemplate},