fix: incorrect comparison used for time (#1608)

Signed-off-by: Matthew Wilson <54033231+wilson-matthew@users.noreply.github.com>
This commit is contained in:
Matthew Wilson 2025-03-27 18:28:26 +00:00 committed by GitHub
parent ddfa0203ce
commit 8c5ac2f2c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func (hs *Sync) sync(ctx context.Context, dataSync chan<- sync.DataSync, skipChe
if err != nil { if err != nil {
return fmt.Errorf("couldn't get object attributes: %v", err) return fmt.Errorf("couldn't get object attributes: %v", err)
} }
if hs.lastUpdated == updated { if hs.lastUpdated.Equal(updated) {
hs.Logger.Debug("configuration hasn't changed, skipping fetching full object") hs.Logger.Debug("configuration hasn't changed, skipping fetching full object")
return nil return nil
} }