Skip to content

Commit 81862b5

Browse files
committed
wip
1 parent 38e2585 commit 81862b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/content-service/pkg/layer/provider.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ func (s *Provider) GetContentLayerPVC(ctx context.Context, owner, workspaceID st
282282
// At this point we've found neither a full-workspace-backup, nor a legacy backup.
283283
// It's time to use the initializer.
284284
if gis := initializer.GetSnapshot(); gis != nil {
285+
log.Infof("GetContentLayerPVC: GetSnapshot. %v", gis.FromVolumeSnapshot)
285286
if gis.FromVolumeSnapshot {
286287
layer, err = contentDescriptorToLayerPVC([]byte{})
287288
if err != nil {
@@ -294,6 +295,7 @@ func (s *Provider) GetContentLayerPVC(ctx context.Context, owner, workspaceID st
294295
return s.getSnapshotContentLayer(ctx, gis)
295296
}
296297
if pis := initializer.GetPrebuild(); pis != nil {
298+
log.Infof("GetContentLayerPVC: GetPrebuild. %v", pis.Prebuild.FromVolumeSnapshot)
297299
if pis.Prebuild.FromVolumeSnapshot {
298300
layer, err = contentDescriptorToLayerPVC([]byte{})
299301
if err != nil {

0 commit comments

Comments
 (0)