Skip to content

Commit

Permalink
Simplify operation filtering
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia committed Jan 2, 2025
1 parent e073bb6 commit 30dd4f7
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@ public class CodeGenerator {
isNot("search_models")
)
),
and(namespace(is("nodes")), name(isOneOf("info", "reload_secure_settings", "stats", "usage"))),
and(
namespace(is("nodes")),
name(
// TODO: hot_threads is a plain text response and should be handled differently
isNot("hot_threads")
)
),
namespace(is("snapshot")),
namespace(is("tasks"))
);
Expand Down

0 comments on commit 30dd4f7

Please sign in to comment.