From 3730abdf85c0f83e9e25c34f6dd4ef350259e58f Mon Sep 17 00:00:00 2001 From: Amber Sistla Date: Thu, 9 Jan 2025 14:16:41 -0700 Subject: [PATCH] refactor(agent): rename variable --- agent/lib_aws_sdk_php.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/lib_aws_sdk_php.c b/agent/lib_aws_sdk_php.c index bf2b26726..6adc61009 100644 --- a/agent/lib_aws_sdk_php.c +++ b/agent/lib_aws_sdk_php.c @@ -122,10 +122,10 @@ void nr_lib_aws_sdk_php_sqs_handle(nr_segment_t* segment, /* Determine if we instrument this command. */ if (nr_streq(command_name_string, "sendMessage") || nr_streq(command_name_string, "sendMessageBatch")) { - message_params.message_action = NR_SPAN_PRODUCER; + message_params.message_action = NR_SPANKIND_PRODUCER; instrumented = true; } else if (nr_streq(command_name_string, "receiveMessage")) { - message_params.message_action = NR_SPAN_CONSUMER; + message_params.message_action = NR_SPANKIND_CONSUMER; instrumented = true; }