Skip to content

Commit

Permalink
refactor(agent): rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zsistla committed Jan 9, 2025
1 parent 1c3e374 commit 3730abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/lib_aws_sdk_php.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3730abd

Please sign in to comment.