Skip to content

Commit

Permalink
Simply getProperty further
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Jul 11, 2022
1 parent 2a1b420 commit 2bb1c4e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scheduler/propertyset.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,5 @@ func getProperty(n *structs.Node, property string) (string, bool) {
return "", false
}

val, ok := resolveTarget(property, n)
if !ok {
return "", false
}

return val, true
return resolveTarget(property, n)
}

0 comments on commit 2bb1c4e

Please sign in to comment.