File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ class LayerCache {
174174 private async restoreLayers ( ) {
175175 const restoring = ( await this . getLayerIds ( ) ) . map ( layerId => this . restoreSingleLayerBy ( layerId ) )
176176 const restoredLayerKeysThatMayContainUndefined = await Promise . all ( restoring )
177- core . debug ( JSON . stringify ( { hasRestored : restoredLayerKeysThatMayContainUndefined } ) )
177+ core . debug ( JSON . stringify ( { restoredLayerKeysThatMayContainUndefined } ) )
178178 const FailedToRestore = ( restored : string | undefined ) => restored === undefined
179179 return restoredLayerKeysThatMayContainUndefined . filter ( FailedToRestore ) . length === 0
180180 }
@@ -245,7 +245,9 @@ class LayerCache {
245245
246246 async getLayerIds ( ) : Promise < string [ ] > {
247247 const getIdfromLayerRelativePath = ( path : string ) => path . replace ( '/layer.tar' , '' )
248- return ( await this . getLayerTarFiles ( ) ) . map ( getIdfromLayerRelativePath )
248+ const layerIds = ( await this . getLayerTarFiles ( ) ) . map ( getIdfromLayerRelativePath ) ;
249+ core . debug ( JSON . stringify ( { log : `loadLayerTarIds` , layerIds } ) )
250+ return layerIds
249251 }
250252}
251253
You can’t perform that action at this time.
0 commit comments