Skip to content

Commit

Permalink
resolved conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: msvinaykumar <vinakuma@redhat.com>
  • Loading branch information
msvinaykumar committed Jul 21, 2023
1 parent ce58974 commit 80b7565
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,12 @@ public static ListRecommendationsAPIObject convertKruizeObjectToListRecommendati
return listRecommendationsAPIObject;
}

public static ContainerData getLatestRecommendations(ContainerData containerData) {
/**
*
* @param containerData
* @return
*/
public static ContainerData getLatestRecommendations(ContainerData containerData) {
ContainerData clonedContainerData = Utils.getClone(containerData, ContainerData.class);
if (null != clonedContainerData) {
HashMap<Timestamp, HashMap<String, HashMap<String, Recommendation>>> recommendations = clonedContainerData.getContainerRecommendations().getData();
Expand All @@ -277,6 +282,10 @@ public static ContainerData getLatestRecommendations(ContainerData containerData
return clonedContainerData;
}

/**
*
* @param containerData
*/
public static void getLatestResults(ContainerData containerData) {
if (null != containerData) {
HashMap<Timestamp, IntervalResults> results = containerData.getResults();
Expand Down

0 comments on commit 80b7565

Please sign in to comment.