diff --git a/priam/src/main/java/com/netflix/priam/resources/BackupServlet.java b/priam/src/main/java/com/netflix/priam/resources/BackupServlet.java index be53c249f..c003ee3d3 100644 --- a/priam/src/main/java/com/netflix/priam/resources/BackupServlet.java +++ b/priam/src/main/java/com/netflix/priam/resources/BackupServlet.java @@ -190,7 +190,7 @@ public Response statusByDate(@PathParam("date") String date) throws Exception { if (metadataLinkedList != null && !metadataLinkedList.isEmpty()) { // backup exist base on requested date, lets fetch more of its metadata BackupMetadata bkupMetadata = metadataLinkedList.get(0); - object.put("Snapshotstatus", true); + object.put("Snapshotstatus", bkupMetadata.getStatus().equals(Status.FINISHED)); String token = bkupMetadata.getToken(); if (token != null && !token.isEmpty()) { object.put("token", bkupMetadata.getToken());