From 6f643ffba578bd7edf37370c5b3ab99a81054d55 Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Tue, 11 Apr 2017 11:19:00 -0400 Subject: [PATCH] [ML] If snapshot list is empty, return after signaling failure Original commit: elastic/x-pack-elasticsearch@a89f88da1151ff4c03326e1b559196dba230a5d0 --- .../elasticsearch/xpack/ml/action/DeleteModelSnapshotAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/DeleteModelSnapshotAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/DeleteModelSnapshotAction.java index 9c15f16c031..d638c6f85c9 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/DeleteModelSnapshotAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/DeleteModelSnapshotAction.java @@ -164,6 +164,7 @@ public class DeleteModelSnapshotAction extends Action