Revision b9bdc10e htools/Ganeti/Query/Node.hs

b/htools/Ganeti/Query/Node.hs
128 128
       "Number of instances with this node as secondary",
129 129
     FieldConfig (\cfg ->
130 130
                    rsNormal . length . snd . getNodeInstances cfg . nodeName))
131
  , (FieldDefinition "pinst_list" "PriInstances" QFTNumber
131
  , (FieldDefinition "pinst_list" "PriInstances" QFTOther
132 132
       "List of instances with this node as primary",
133 133
     FieldConfig (\cfg -> rsNormal . map instName . fst .
134 134
                          getNodeInstances cfg . nodeName))
135
  , (FieldDefinition "sinst_list" "SecInstances" QFTNumber
135
  , (FieldDefinition "sinst_list" "SecInstances" QFTOther
136 136
       "List of instances with this node as secondary",
137 137
     FieldConfig (\cfg -> rsNormal . map instName . snd .
138 138
                          getNodeInstances cfg . nodeName))

Also available in: Unified diff