From eb70ee72edfedc66afb038e1ce323469fd44457e Mon Sep 17 00:00:00 2001 From: David Korczynski Date: Wed, 8 Mar 2023 08:20:51 -0800 Subject: [PATCH] aws: fix typo Signed-off-by: David Korczynski --- src/aws/flb_aws_credentials_http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aws/flb_aws_credentials_http.c b/src/aws/flb_aws_credentials_http.c index a9c0a2af832..e149d648dae 100644 --- a/src/aws/flb_aws_credentials_http.c +++ b/src/aws/flb_aws_credentials_http.c @@ -474,7 +474,7 @@ struct flb_aws_credentials *flb_parse_json_credentials(char *response, current_token = &response[t->start]; len = t->end - t->start; if (creds->access_key_id != NULL) { - flb_error("Triyng to double allocate access_key_id"); + flb_error("Trying to double allocate access_key_id"); goto error; } creds->access_key_id = flb_sds_create_len(current_token, len); @@ -491,7 +491,7 @@ struct flb_aws_credentials *flb_parse_json_credentials(char *response, current_token = &response[t->start]; len = t->end - t->start; if (creds->secret_access_key != NULL) { - flb_error("Triyng to double allocate secret_access_key"); + flb_error("Trying to double allocate secret_access_key"); goto error; } creds->secret_access_key = flb_sds_create_len(current_token, @@ -508,7 +508,7 @@ struct flb_aws_credentials *flb_parse_json_credentials(char *response, current_token = &response[t->start]; len = t->end - t->start; if (creds->session_token != NULL) { - flb_error("Triyng to double allocate session_token"); + flb_error("Trying to double allocate session_token"); goto error; } creds->session_token = flb_sds_create_len(current_token, len);