c561b5 Fix: libpacemaker: Various small fixes to location-list.

1 file Authored by Chris Lumens 4 years ago, Committed by Packit Service 4 years ago,
    Fix: libpacemaker: Various small fixes to location-list.
    
    * Output a "node" attribute instead of a "host" attribute, bringing
      crm_resource closer in line to what's used in the CIB.
    
    * Correct indentation on the function prototypes.
    
    * Add a "rsc" attribute.  This was previously absent (and unnecessary)
      because the location and colocation constraint output was structured
      in such a way that you could figure out the resource based on the
      context.  Now that we are just flattening the XML output, this is no
      longer the case.  We need the attribute to make sense of it.
    
    * Also add "rsc" to the text output.  It's not strictly necessary, but
      it does make things look a little clearer.
    
        
file modified
+9 -6