Skip to content

Commit

Permalink
Using declared variable instead of re-getting from task
Browse files Browse the repository at this point in the history
  • Loading branch information
minidragon88 committed Apr 8, 2019
1 parent cc40329 commit f4602e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/embulk/input/jira/util/JiraUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void validateTaskConfig(final PluginTask task)
.setCookieSpec(CookieSpecs.STANDARD)
.build())
.build()) {
HttpGet request = new HttpGet(task.getUri());
HttpGet request = new HttpGet(uri);
try (CloseableHttpResponse response = client.execute(request)) {
response.getStatusLine().getStatusCode();
}
Expand Down

0 comments on commit f4602e9

Please sign in to comment.