Skip to content

Commit

Permalink
aws: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski authored and edsiper committed Mar 16, 2023
1 parent 3b44afa commit eb70ee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aws/flb_aws_credentials_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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,
Expand All @@ -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);
Expand Down

0 comments on commit eb70ee7

Please sign in to comment.