Skip to content

Commit

Permalink
chore: enhance logging
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang committed Nov 1, 2024
1 parent a821f17 commit 3c1af3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/volume_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ func (c *VolumeController) ReconcileVolumeState(v *longhorn.Volume, es map[strin
if !dataExists {
log.Warn("Failed to auto salvage volume: no data exists")
} else {
log.Info("Bringing up replicas for auto-salvage")
log.Infof("Bringing up %v replicas for auto-salvage", len(failedUsableReplicas))

// This salvage is for revision counter enabled case
salvaged := false
Expand Down

0 comments on commit 3c1af3e

Please sign in to comment.