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 <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang committed Oct 27, 2024
1 parent 2ac0880 commit ddada21
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 ddada21

Please sign in to comment.