Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.1.1
* Move `cleanCreatedTransferFilesCache` method to correct place

# 4.1.0
* New method `copyForExactRebuild`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,15 @@ protected S copyForExactRebuild(final BiFunction<String, Boolean, S> createNewFu
return image;
}

public void cleanCreatedTransferFilesCache()
{
if(this.createTransferFilesCache && this.transferFileCache != null)
{
this.transferFileCache.close();
this.transferFileCache = null;
}
}

// region with

public S withLoggerForBuild(final Logger loggerForBuild)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,6 @@ public AdvancedImageFromDockerFile copyForIntermediateTag(
return this.copyForExactRebuild(dockerImageName).withTarget(target);
}

public void cleanCreatedTransferFilesCache()
{
if(this.createTransferFilesCache && this.transferFileCache != null)
{
this.transferFileCache.close();
this.transferFileCache = null;
}
}

// region with

public AdvancedImageFromDockerFile withExplicitTransferables(final Map<String, Transferable> transferables)
Expand Down