ACUMOS-3918 60/6360/1
authorvt402f <vt00325492@techmahindra.com>
Mon, 27 Jan 2020 19:52:22 +0000 (14:52 -0500)
committervt402f <vt00325492@techmahindra.com>
Mon, 27 Jan 2020 19:52:34 +0000 (14:52 -0500)
Change-Id: I6628ca7762c263dfcd03d2e08e38cce747ab4e46
Signed-off-by: vt402f <vt00325492@techmahindra.com>
elk-client/src/main/java/org/acumos/elk/client/service/SnapshotRepositoryServiceImpl.java

index 3d9f985..04f0a66 100644 (file)
@@ -290,7 +290,7 @@ public class SnapshotRepositoryServiceImpl extends AbstractELKClientConnection i
                        elkArchiveResponse.setStatus(ElkClientConstants.SUCCESS);
                        elkArchiveResponse.setArchiveInfo(archiveInfoList);
                        logger.debug("archiveInfoList:{} action:{}", archiveInfoList, action);
-                       if (action.equalsIgnoreCase(ElkClientConstants.RESTORE_REQUEST)) {
+                       /*if (action.equalsIgnoreCase(ElkClientConstants.RESTORE_REQUEST)) {
                                for (ArchiveInfo archiveInfo : archiveInfoList) {
                                        ElkRepositoriesRequest elkCreateRepositoriesRequest = new ElkRepositoriesRequest();
                                        elkCreateRepositoriesRequest.setRepositoryName(archiveInfo.getRepositoryName());
@@ -299,7 +299,7 @@ public class SnapshotRepositoryServiceImpl extends AbstractELKClientConnection i
                                        logger.debug("elkCreateRepositoriesRequest:{}  action:{}", elkCreateRepositoriesRequest.getRepositoryName(), action);
                                        createElkRepository(elkCreateRepositoriesRequest, action);
                                }
-                       }
+                       }*/
                        logger.debug("completed for loop of restore:{}" + archiveInfoList);
                } else {
                        logger.debug("result:" + result);