Skip to content

Commit

Permalink
virt-controller/nodetopologyupdater: Improve log in case of get freq err
Browse files Browse the repository at this point in the history
Signed-off-by: Ram Lavi <[email protected]>
  • Loading branch information
RamLavi committed Mar 27, 2024
1 parent 071995c commit cc8f6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/virt-controller/watch/topology/nodetopologyupdater.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (n *nodeTopologyUpdater) sync(nodes []*v1.Node) *updateStats {
func calculateNodeLabelChanges(original *v1.Node, requiredFrequencies []int64) (modified *v1.Node, err error) {
nodeFreq, scalable, err := TSCFrequencyFromNode(original)
if err != nil {
log.DefaultLogger().Reason(err).Object(original).Error("Can't determine TSC frequency of the original")
log.DefaultLogger().Reason(err).Object(original).Errorf("Can't determine original TSC frequency of node %s", original.Name)
return nil, err
}
freqsOnNode := TSCFrequenciesOnNode(original)
Expand Down

0 comments on commit cc8f6e9

Please sign in to comment.