Skip to content

Commit d410c1b

Browse files
sgiacomelthaJeztah
andauthored
Update manager/orchestrator/task.go
Fixed the logic Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
1 parent e53bfae commit d410c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/orchestrator/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func nodeMatches(s *api.Service, n *api.Node) bool {
119119
return false
120120
}
121121

122-
if s.Spec.Task.Placement != nil {
122+
if s.Spec.Task.Placement == nil {
123123
return false
124124
}
125125

0 commit comments

Comments
 (0)