diff --git a/src/main/java/io/cryostat/agent/remote/RecordingsContext.java b/src/main/java/io/cryostat/agent/remote/RecordingsContext.java index 7333e8e4..23830b87 100644 --- a/src/main/java/io/cryostat/agent/remote/RecordingsContext.java +++ b/src/main/java/io/cryostat/agent/remote/RecordingsContext.java @@ -277,7 +277,7 @@ private void handleStopOrUpdate(HttpExchange exchange, long id) throws IOExcepti switch (field.getKey()) { case "state": - if ("STOPPED".equals(field.getValue().textValue())) { + if ("stopped".equalsIgnoreCase(field.getValue().textValue())) { shouldStop = true; break; }