Skip to content

Commit

Permalink
Addressing failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh Gupta committed Oct 7, 2022
1 parent d19311b commit c6761af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ static Map<String, Object> toJsonMap(

public static String toJsonString(BlockLocation[] locations)
throws IOException {
return toJsonString("BlockLocations", JsonUtil.toJsonString(locations));
return toJsonString("BlockLocations", JsonUtil.toJsonMap(locations));
}

public static Map<String, Object> toJsonMap(BlockLocation[] locations)
Expand Down

0 comments on commit c6761af

Please sign in to comment.