Skip to content

Commit a666d46

Browse files
authored
Release v0.0.2 #patch (#15)
2 parents 0175524 + 1112399 commit a666d46

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/slurm/create_slurmabler.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,15 @@ func buildSlurmablerDaemonSet(client kubernetes.Interface, wl *v1s.Slik) error {
8787
var lablesSet int = 0
8888

8989
for i := range nodes.Items {
90+
if len(nodes.Items[i].Spec.Taints) > 0 {
91+
lablesSet++
92+
93+
continue
94+
}
95+
9096
labels := nodes.Items[i].GetLabels()
9197

9298
_, ok := labels["slik.vultr.com/real_memory"]
93-
9499
if ok {
95100
lablesSet++
96101
}

0 commit comments

Comments
 (0)