From b8e6df2fed29836e26e602b2a31a86e6cf1d63b9 Mon Sep 17 00:00:00 2001 From: msvinaykumar Date: Fri, 19 Jan 2024 15:54:57 +0530 Subject: [PATCH] Handle null after space increase Signed-off-by: msvinaykumar --- src/main/java/com/autotune/database/helper/DBHelpers.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/autotune/database/helper/DBHelpers.java b/src/main/java/com/autotune/database/helper/DBHelpers.java index ff52c785a..8824b6ca6 100644 --- a/src/main/java/com/autotune/database/helper/DBHelpers.java +++ b/src/main/java/com/autotune/database/helper/DBHelpers.java @@ -269,6 +269,8 @@ public static KruizeExperimentEntry convertCreateAPIObjToExperimentDBObj(CreateE kruizeExperimentEntry.setVersion(apiObject.getApiVersion()); kruizeExperimentEntry.setTarget_cluster(apiObject.getTargetCluster()); kruizeExperimentEntry.setStatus(AnalyzerConstants.ExperimentStatus.IN_PROGRESS); + kruizeExperimentEntry.setMeta_data(null); + kruizeExperimentEntry.setDatasource(null); ObjectMapper objectMapper = new ObjectMapper(); try { kruizeExperimentEntry.setExtended_data(