Skip to content

Commit

Permalink
fix typo of flusher_sls (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryzhx8 authored Jan 30, 2024
1 parent 9e1244d commit 9e6fb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/config/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ bool Config::Parse() {
if (plugin.isObject()) {
key = "Type";
const Json::Value* it = plugin.find(key.c_str(), key.c_str() + key.size());
if (it && it->isString() && it->asString() == "flusherSLS") {
if (it && it->isString() && it->asString() == "flusher_sls") {
GetMandatoryStringParam(plugin, "Project", mProject, errorMsg);
GetMandatoryStringParam(plugin, "Logstore", mLogstore, errorMsg);
GetMandatoryStringParam(plugin, "Region", mRegion, errorMsg);
Expand Down

0 comments on commit 9e6fb25

Please sign in to comment.