Skip to content

Commit

Permalink
add logger
Browse files Browse the repository at this point in the history
  • Loading branch information
ophum committed Mar 4, 2021
1 parent 3e22d85 commit f580621
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/agents/system/blockstorage/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ func (a *BlockStorageAgent) Run(pollingDuration time.Duration) {
)
return
}
a.logger.Info("sync because different hash",
zap.String("bs", bs.Namespace+"/"+bs.ID),
zap.Time("time", time.Now()),
)
}(usedBSIDs, &copiedBS)
}
}
Expand Down

0 comments on commit f580621

Please sign in to comment.