From ad4744eba6eda7b9fe1449a75e732fdbd2d397b5 Mon Sep 17 00:00:00 2001 From: Christian Kreibich Date: Mon, 31 Jan 2022 18:42:03 -0800 Subject: [PATCH] Make members of the ClusterController::Types::State enum all-caps A consistency tweak since we mostly use all-caps elsewhere as well. --- .../policy/frameworks/cluster/controller/types.zeek | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/policy/frameworks/cluster/controller/types.zeek b/scripts/policy/frameworks/cluster/controller/types.zeek index 9d7bc82e3c..20e598c482 100644 --- a/scripts/policy/frameworks/cluster/controller/types.zeek +++ b/scripts/policy/frameworks/cluster/controller/types.zeek @@ -37,11 +37,11 @@ export { ## State that a Cluster Node can be in. State changes trigger an ## API notification (see notify_change()). type State: enum { - Running, ##< Running and operating normally - Stopped, ##< Explicitly stopped - Failed, ##< Failed to start; and permanently halted - Crashed, ##< Crashed, will be restarted, - Unknown, ##< State not known currently (e.g., because of lost connectivity) + RUNNING, ##< Running and operating normally + STOPPED, ##< Explicitly stopped + FAILED, ##< Failed to start; and permanently halted + CRASHED, ##< Crashed, will be restarted, + UNKNOWN, ##< State not known currently (e.g., because of lost connectivity) }; ## Configuration describing a Cluster Node process.