Skip to content

Commit 8f63cce

Browse files
author
ekostechko
committed
fix dynamic_configs: fix is_prestable flag check
commit_hash:3484fae33e90a6dd57838c87bea577b5144a09f3
1 parent d2d1685 commit 8f63cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/dynamic_config/client/component.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bool IsClownductorPrestable() {
4040
}
4141
auto content = fs::ReadFileContents(tp, filepath);
4242
utils::text::Trim(content);
43-
return utils::text::EndsWith(content, "_pre_stable");
43+
return utils::text::EndsWith(content, "_pre_stable") || utils::text::EndsWith(content, "_prestable");
4444
}
4545
#else
4646
bool IsClownductorPrestable() { return false; }

0 commit comments

Comments
 (0)