Skip to content

Commit

Permalink
fix(recurring-job): flooded source label log
Browse files Browse the repository at this point in the history
ref: 6257

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
(cherry picked from commit 73e92f7)
  • Loading branch information
c3y1huang authored and David Ko committed Jul 10, 2023
1 parent 6bc13ad commit 0503d56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controller/volume_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3647,7 +3647,8 @@ func (c *VolumeController) syncPVCRecurringJobLabels(volume *longhorn.Volume) er
}

if !hasSourceLabel {
c.logger.Warnf("Ignoring recurring job labels on Volume %v PVC %v due to missing source label", volume.Name, pvc.Name)
c.logger.Debugf("Ignoring recurring job labels on Volume %v PVC %v due to missing source label", volume.Name, pvc.Name)

return nil
}

Expand Down

0 comments on commit 0503d56

Please sign in to comment.