Skip to content

Commit

Permalink
Fix constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
judu committed Sep 1, 2021
1 parent 6367a8f commit 7c31b1f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ public Warp10Container(final String tag) {
this(DEFAULT_IMAGE_NAME.withTag(tag));
}

public Warp10Container(final String tag, final File macrosFolder) throws FileNotFoundException {
this(DEFAULT_IMAGE_NAME.withTag(tag), macrosFolder);
}

public Warp10Container(final DockerImageName dockerImageName) {
super(dockerImageName);

Expand All @@ -43,7 +47,7 @@ public Warp10Container(final DockerImageName dockerImageName) {
);
}

public Warp10Container(final DockerImageName dockerImageName, File macrosFolder) throws FileNotFoundException {
public Warp10Container(final DockerImageName dockerImageName, final File macrosFolder) throws FileNotFoundException {
this(dockerImageName);

if (!macrosFolder.exists()) {
Expand Down

0 comments on commit 7c31b1f

Please sign in to comment.