Skip to content
Open
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
5 changes: 5 additions & 0 deletions cmd/controller/controllers/imagescan/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/davecgh/go-spew/spew"
"reflect"
"sort"
"sync"
Expand Down Expand Up @@ -373,6 +374,10 @@ func (c *Controller) syncFromRemoteState(ctx context.Context) {
// Set images as scanned from remote response.
c.delta.SetScannedImages(resp.Images.Images)

// log d.images values
c.log.Infof("Setting scanned images, scanned images: %+v", resp.Images.Images)
c.log.Infof("Setting scanned images, current images in delta state: %+v", spew.Sdump(lo.Values(c.delta.images)))

// If full resources resync is required it will be sent during next scheduled scan.
if resp.Images.FullResyncRequired {
c.fullSnapshotSent = false
Expand Down