From ec2ebc482c19251896c1209f8d7a4b676ceb89d4 Mon Sep 17 00:00:00 2001 From: Clive Cox Date: Thu, 15 Nov 2018 16:32:13 +0000 Subject: [PATCH] fix status remove functionality in operator --- .../clustermanager/k8s/SeldonDeploymentStatusUpdateImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster-manager/src/main/java/io/seldon/clustermanager/k8s/SeldonDeploymentStatusUpdateImpl.java b/cluster-manager/src/main/java/io/seldon/clustermanager/k8s/SeldonDeploymentStatusUpdateImpl.java index d5e8cb8853..1171bf16c3 100644 --- a/cluster-manager/src/main/java/io/seldon/clustermanager/k8s/SeldonDeploymentStatusUpdateImpl.java +++ b/cluster-manager/src/main/java/io/seldon/clustermanager/k8s/SeldonDeploymentStatusUpdateImpl.java @@ -114,6 +114,7 @@ public void removeStatus(String mlDepName, String depName) { mlBuilder.getStatusBuilder().removePredictorStatus(idx); break; } + idx++; } crdHandler.updateSeldonDeploymentStatus(mlBuilder.build()); }