fix: incorrect comparison used for time (#1608)
Signed-off-by: Matthew Wilson <54033231+wilson-matthew@users.noreply.github.com>
This commit is contained in:
parent
ddfa0203ce
commit
8c5ac2f2c3
|
|
@ -88,7 +88,7 @@ func (hs *Sync) sync(ctx context.Context, dataSync chan<- sync.DataSync, skipChe
|
|||
if err != nil {
|
||||
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")
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue