Skip to content

Commit

Permalink
type already provided by plugin manager
Browse files Browse the repository at this point in the history
  • Loading branch information
avarsava committed May 16, 2024
1 parent 632c92a commit 18b8894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public ActionState perform(
.append("\nConnection: ")
.append(connection);
Map<String, String> lokiLabels = new HashMap<>();
lokiLabels.put("type", "jira");
lokiLabels.put("issue", issue.getKey());
lokiLabels.put("verb", "close");
((Definer<JiraConnection>) definer).log(errorBuilder.toString(), lokiLabels);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,9 @@ boolean transition(
.append(transitions)
.append("\nGot ")
.append(result.body());
Map<String, String> labels = new HashMap<>();
labels.put("type", "jira");
labels.put("issue", issue.getKey());
((Definer<JiraConnection>) definer).log(errorBuilder.toString(), labels);
Map<String, String> lokiLabels = new HashMap<>();
lokiLabels.put("issue", issue.getKey());
((Definer<JiraConnection>) definer).log(errorBuilder.toString(), lokiLabels);
}
return isGood;
}
Expand Down

0 comments on commit 18b8894

Please sign in to comment.