Skip to content

Commit

Permalink
Merge pull request #479 from mallardduck/improve-controller-ref-logging
Browse files Browse the repository at this point in the history
Improve logging text used for ControllerRef logic
  • Loading branch information
mallardduck authored Jul 9, 2024
2 parents 30f6081 + 3b692cf commit daf143e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/restore/pause.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (h *handler) getObjFromControllerRef(controllerRef v1.ControllerReference)
}
controllerObj, err := dr.Get(h.ctx, controllerRef.Name, k8sv1.GetOptions{})
if err != nil {
logrus.Infof("Error getting object for controllerRef %v/%v/%v: %v", controllerRef.APIVersion, controllerRef.Resource, controllerRef.Name, err)
logrus.Debugf("Unable to retrieve object for controllerRef %v/%v/%v: %v", controllerRef.APIVersion, controllerRef.Resource, controllerRef.Name, err)
return nil, dr
}
return controllerObj, dr
Expand Down

0 comments on commit daf143e

Please sign in to comment.