Skip to content

Commit

Permalink
Fix typo in plugin name, add to allowed settings
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Aug 26, 2019
1 parent fbbd749 commit b06dda2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private XPackSettings() {
public static final Setting<Boolean> VECTORS_ENABLED = Setting.boolSetting("xpack.vectors.enabled", true, Setting.Property.NodeScope);

/** Setting for enabling or disabling data science plugin. Defaults to true. */
public static final Setting<Boolean> DATA_SCIENCE_ENABLED = Setting.boolSetting("xpack.datascience.enabled",
public static final Setting<Boolean> DATA_SCIENCE_ENABLED = Setting.boolSetting("xpack.data-science.enabled",
true, Setting.Property.NodeScope);

/*
Expand Down Expand Up @@ -217,6 +217,7 @@ public static List<Setting<?>> getAllSettings() {
settings.add(DATA_FRAME_ENABLED);
settings.add(FLATTENED_ENABLED);
settings.add(VECTORS_ENABLED);
settings.add(DATA_SCIENCE_ENABLED);
return Collections.unmodifiableList(settings);
}

Expand Down

0 comments on commit b06dda2

Please sign in to comment.