Skip to content

Commit

Permalink
Log errors from fetching selector rather than silently dropping it.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbartosik committed Oct 30, 2019
1 parent b714b5d commit e68b78c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (p *recommendationProvider) getMatchingVPA(pod *core.Pod) *vpa_types.Vertic
}
selector, err := p.selectorFetcher.Fetch(vpaConfig)
if err != nil {
klog.V(3).Infof("skipping VPA object %v because we cannot fetch selector", vpaConfig.Name)
klog.V(3).Infof("skipping VPA object %v because we cannot fetch selector: %s", vpaConfig.Name, err)
continue
}
onConfigs = append(onConfigs, &vpa_api_util.VpaWithSelector{
Expand Down

0 comments on commit e68b78c

Please sign in to comment.