diff --git a/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/IssueVerb.java b/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/IssueVerb.java index 7d8ebabb3..d539530b9 100644 --- a/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/IssueVerb.java +++ b/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/IssueVerb.java @@ -59,7 +59,6 @@ public ActionState perform( .append("\nConnection: ") .append(connection); Map lokiLabels = new HashMap<>(); - lokiLabels.put("type", "jira"); lokiLabels.put("issue", issue.getKey()); lokiLabels.put("verb", "close"); ((Definer) definer).log(errorBuilder.toString(), lokiLabels); diff --git a/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/JiraConnection.java b/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/JiraConnection.java index cb4d0a275..48a9a3ee6 100644 --- a/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/JiraConnection.java +++ b/plugin-jira/src/main/java/ca/on/oicr/gsi/shesmu/jira/JiraConnection.java @@ -452,10 +452,9 @@ boolean transition( .append(transitions) .append("\nGot ") .append(result.body()); - Map labels = new HashMap<>(); - labels.put("type", "jira"); - labels.put("issue", issue.getKey()); - ((Definer) definer).log(errorBuilder.toString(), labels); + Map lokiLabels = new HashMap<>(); + lokiLabels.put("issue", issue.getKey()); + ((Definer) definer).log(errorBuilder.toString(), lokiLabels); } return isGood; }