Skip to content

Commit cbf5694

Browse files
Merge pull request #50 from embulk/update_validate_last_path_message
Update validate error message for last_path
2 parents c318d9a + 6c1f9c7 commit cbf5694

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.3.3 - 2020-04-12
2+
* [maintenance] Update validate error message for last_path [#50](https://github.com/embulk/embulk-input-gcs/pull/50)
3+
14
## 0.3.2 - 2020-01-13
25
* [maintenance] Improve base64encode method for last_path [#47](https://github.com/embulk/embulk-input-gcs/pull/47)
36

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ configurations {
2020
sourceCompatibility = 1.8
2121
targetCompatibility = 1.8
2222

23-
version = "0.3.2"
23+
version = "0.3.3"
2424

2525
// Relocate Guava packages since it's incompatible with Guava's version from Embulk
2626
shadowJar {

src/main/java/org/embulk/input/gcs/GcsFileInputPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ else if (AuthUtils.AuthMethod.private_key.equals(task.getAuthMethod())) {
5050
// @see https://cloud.google.com/storage/docs/bucket-naming
5151
if (task.getLastPath().isPresent()) {
5252
if (task.getLastPath().get().length() >= 128) {
53-
throw new ConfigException("last_path length is allowed between 1 and 1024 bytes");
53+
throw new ConfigException("last_path length is allowed up to 127 characters");
5454
}
5555
}
5656

0 commit comments

Comments
 (0)