Skip to content

Commit ba0d6fa

Browse files
author
ekostechko
committed
fix dynamic_config: fix reading clownductor_group contents
commit_hash:566d71eb0a94bdc4286c9b484d39ef86655d8ef9
1 parent eac53b7 commit ba0d6fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/dynamic_config/client/component.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ bool IsClownductorPrestable() {
4747
return false;
4848
}
4949

50-
utils::text::Trim(*content);
51-
return utils::text::EndsWith(*content, "_pre_stable") || utils::text::EndsWith(*content, "_prestable");
50+
const auto trimmed = utils::text::TrimView(*content);
51+
return utils::text::EndsWith(trimmed, "_pre_stable") || utils::text::EndsWith(trimmed, "_prestable");
5252
}
5353

5454
std::string ReadCircuit() {

0 commit comments

Comments
 (0)