diff --git a/plugins/out_oracle_log_analytics/oci_logan_conf.c b/plugins/out_oracle_log_analytics/oci_logan_conf.c index a3980318465..c113fa2cd30 100644 --- a/plugins/out_oracle_log_analytics/oci_logan_conf.c +++ b/plugins/out_oracle_log_analytics/oci_logan_conf.c @@ -103,7 +103,7 @@ static int load_oci_credentials(struct flb_oci_logan *ctx) char* key = NULL; char* val; - content = flb_file_read(ctx->config_file_location); + content = flb_file_read_contents(ctx->config_file_location); if (content == NULL || flb_sds_len(content) == 0) { return -1;