File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ public DatafeedConfig(StreamInput in) throws IOException {
302302 * @return The ID of document the datafeed config is persisted in
303303 */
304304 public static String documentId (String datafeedId ) {
305- return "datafeed -" + datafeedId ;
305+ return TYPE + " -" + datafeedId ;
306306 }
307307
308308 public String getId () {
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ public static String documentId(String jobId) {
239239 throw new IllegalArgumentException (Messages .getMessage (Messages .JOB_CONFIG_ID_TOO_LONG , MlStrings .ID_LENGTH_LIMIT ));
240240 }
241241
242- return "job -" + jobId ;
242+ return ANOMALY_DETECTOR_JOB_TYPE + " -" + jobId ;
243243 }
244244
245245
You can’t perform that action at this time.
0 commit comments