Skip to content

Commit

Permalink
config/property: Switch license strings
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pope <ben@redpanda.com>
  • Loading branch information
BenPope committed Nov 25, 2024
1 parent 32c2577 commit fb700d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/v/config/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ redpanda_cc_library(
deps = [
"//src/v/base",
"//src/v/container:intrusive",
"//src/v/features:enterprise_feature_messages",
"//src/v/json",
"//src/v/model",
"//src/v/pandaproxy:config",
Expand Down
5 changes: 3 additions & 2 deletions src/v/config/property.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "config/base_property.h"
#include "config/rjson_serialization.h"
#include "container/intrusive_list_helpers.h"
#include "features/enterprise_feature_messages.h"
#include "json/stringbuffer.h"
#include "json/writer.h"
#include "pandaproxy/schema_registry/schema_id_validation.h"
Expand Down Expand Up @@ -1084,8 +1085,8 @@ class enterprise : public P {
if (do_check_restricted(v)) {
return std::make_optional<validation_error>(
P::name().data(),
ssx::sformat(
"'{}' is restricted to enterprise licensed clusters", v));
features::enterprise_error_message::cluster_property(
P::name().data(), v));
}
return std::nullopt;
}
Expand Down

0 comments on commit fb700d9

Please sign in to comment.