Skip to content

Commit

Permalink
Update pkg/utils/predicates.go
Browse files Browse the repository at this point in the history
Co-authored-by: Niki Manoledaki <niki.manoledaki@grafana.com>
  • Loading branch information
ingvagabund and nikimanoledaki committed May 27, 2024
1 parent af9eab9 commit 12ac004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/utils/predicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ func CheckPodsWithAntiAffinityExist(pod *v1.Pod, pods map[string][]*v1.Pod, node
for namespace := range namespaces {
for _, existingPod := range pods[namespace] {
if existingPod.Name == pod.Name || !podMatchesTermsNamespaceAndSelector(existingPod, namespaces, selector) {
klog.V(4).InfoS("no matching PodAntiAffinity found for pod on node", "pod with anti-affinity", klog.KObj(pod)))

Check failure on line 326 in pkg/utils/predicates.go

View workflow job for this annotation

GitHub Actions / deploy (v1.30.0, v0.30.0, v1alpha1, deployment)

syntax error: unexpected ) at end of statement

Check failure on line 326 in pkg/utils/predicates.go

View workflow job for this annotation

GitHub Actions / deploy (v1.30.0, v0.30.0, v1alpha2, deployment)

syntax error: unexpected ) at end of statement
continue
}

Expand Down

0 comments on commit 12ac004

Please sign in to comment.