Skip to content

Commit

Permalink
Merge pull request #544 from raghu-nandan-bs/fix/redundant-err-logs
Browse files Browse the repository at this point in the history
Remove error log for get service.
  • Loading branch information
ese authored Dec 28, 2022
2 parents d235396 + c42b6a0 commit 11246cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion service/k8s/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func (s *ServiceService) GetService(namespace string, name string) (*corev1.Serv
service, err := s.kubeClient.CoreV1().Services(namespace).Get(context.TODO(), name, metav1.GetOptions{})
recordMetrics(namespace, "Service", name, "GET", err, s.metricsRecorder)
if err != nil {
log.Errorf("Error while getting service %v in %v namespace : %v", name, namespace, err)
return nil, err
}
return service, err
Expand Down

0 comments on commit 11246cd

Please sign in to comment.