Skip to content

Commit

Permalink
Merge pull request #35 from embulk/add-file-index-increment
Browse files Browse the repository at this point in the history
Fix bug: Increment fileIndex after complete uploadFile
  • Loading branch information
sakama authored Jul 8, 2017
2 parents e584ba8 + f66158a commit 37a6a57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/embulk/output/sftp/SftpFileOutput.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public void finish()
{
closeCurrentFile();
uploadFile(getOutputFilePath());
fileIndex++;
}

@Override
Expand Down

0 comments on commit 37a6a57

Please sign in to comment.