Skip to content

Commit

Permalink
trim leading slashes for root directories
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryGeorgist committed Feb 23, 2023
1 parent a90e618 commit 7d58b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ publishing {
}

group 'mil.army.usace.hec'
version '0.0.28'
version '0.0.29'
}
1 change: 1 addition & 0 deletions src/main/java/usace/wat/plugin/FileDataStoreS3.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public FileDataStoreS3(DataStore ds){
System.out.print("Missing S3 Root Paramter. Cannot create the store.");
}
this.bucket = config.aws_bucket;
tmpRoot = tmpRoot.replaceFirst("^/+", "");
this.postFix = tmpRoot;
}
private byte[] GetObject(String path) throws RemoteException {
Expand Down

0 comments on commit 7d58b6b

Please sign in to comment.