Skip to content

Commit

Permalink
[FLINK-3680] [web frontend] Remove "(not set)" text in the Job Plan UI
Browse files Browse the repository at this point in the history
This closes apache#2457
  • Loading branch information
mushketyk authored and greghogan committed Nov 30, 2016
1 parent a41a37d commit 16c08b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ angular.module('flinkApp')
# Otherwise add infos
labelValue += "<h5>" + info + " Node</h5>" if isSpecialIterationNode(info)
labelValue += "<h5>Parallelism: " + el.parallelism + "</h5>" unless el.parallelism is ""
labelValue += "<h5>Operation: " + shortenString(el.operator_strategy) + "</h5>" unless el.operator is `undefined`
labelValue += "<h5>Operation: " + shortenString(el.operator_strategy) + "</h5>" unless el.operator is `undefined` or not el.operator_strategy

# labelValue += "</a>"
labelValue += "</div>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

public class JsonPlanGenerator {

private static final String NOT_SET = "(not set)";
private static final String NOT_SET = "";
private static final String EMPTY = "{}";

public static String generatePlan(JobGraph jg) {
Expand Down

0 comments on commit 16c08b5

Please sign in to comment.