gao-yan/pacemaker — comment on commit df705e11a105b67db1c70e7374f3304163177c62
File: pengine/constraints.c line 1247
By gao-yan:

I somewhat intended to distinguish "NULL due to config/process error" from "NULL because nothing needs to be expanded". Although the errors are still left to the following code to handle now.

Perhaps I thought too much about the "re-setting". According to the schema, we either have references within resource sets or direct references in a constraint . So we could just return once we got any expanded xml from expand_templates_in_sets(), right?