Skip to content

Commit dd0cf4c

Browse files
authored
issue #3465 (#3466)
Fixes #3465 Co-authored-by: freddydk <[email protected]>
1 parent ed8eedc commit dd0cf4c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ContainerHandling/Flush-ContainerHelperCache.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ try {
183183
"artifactUrl=https://bcprivate*.net/",
184184
"artifactUrl=https://bcpublicpreview*.net/" | ForEach-Object {
185185
if ($artifactUrl -like "$($_)*") {
186-
$cacheFolder = Join-Path $artifactsCacheFolder $artifactUrl.SubString($_.Length)
186+
$cacheFolder = Join-Path $artifactsCacheFolder $artifactUrl.Substring($artifactUrl.IndexOf('/',$_.Length)+1)
187187
if (-not (Test-Path $cacheFolder)) {
188188
Write-Host "$imageName was built on artifacts which was removed from the cache, removing image"
189189
if (-not (DockerDo -command rmi -parameters @("--force") -imageName $imageID -ErrorAction SilentlyContinue)) {

ReleaseNotes.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
6.0.14
2+
Issue 3465 Regression: Flush-ContainerHelperCache calculates wrong CacheFolder
3+
14
6.0.13
25
Issue 3452 Error when running Run-AlValidation : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
36
Issue 3454 DockerDo : Cannot bind argument to parameter 'imageName' because it is an empty string.

Version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.13-dev
1+
6.0.14-dev

0 commit comments

Comments
 (0)