FS-11943 [mod_http_cache] Fix typos in warning message in aws.c
This commit is contained in:
parent
5b9d0244c5
commit
cbc36d0541
|
@ -186,7 +186,7 @@ switch_status_t aws_s3_config_profile(switch_xml_t xml, http_profile_t *profile)
|
||||||
profile->aws_s3_access_key_id = switch_strip_whitespace(switch_xml_txt(id));
|
profile->aws_s3_access_key_id = switch_strip_whitespace(switch_xml_txt(id));
|
||||||
profile->secret_access_key = switch_strip_whitespace(switch_xml_txt(secret));
|
profile->secret_access_key = switch_strip_whitespace(switch_xml_txt(secret));
|
||||||
if (zstr(profile->aws_s3_access_key_id) || zstr(profile->secret_access_key)) {
|
if (zstr(profile->aws_s3_access_key_id) || zstr(profile->secret_access_key)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Missing Azure Blob credentials for profile \"%s\"\n", profile->name);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Missing AWS S3 credentials for profile \"%s\"\n", profile->name);
|
||||||
switch_safe_free(profile->aws_s3_access_key_id);
|
switch_safe_free(profile->aws_s3_access_key_id);
|
||||||
profile->aws_s3_access_key_id = NULL;
|
profile->aws_s3_access_key_id = NULL;
|
||||||
switch_safe_free(profile->secret_access_key);
|
switch_safe_free(profile->secret_access_key);
|
||||||
|
|
Loading…
Reference in New Issue