Revision e0e44476 lib/query.py

b/lib/query.py
1945 1945
    fields.extend([
1946 1946
        (_MakeField("disk.size/%s" % i, "Disk/%s" % i, QFT_UNIT,
1947 1947
                    "Disk size of %s disk" % numtext),
1948
        IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDiskSize)),
1948
         IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDiskSize)),
1949 1949
        (_MakeField("disk.spindles/%s" % i, "DiskSpindles/%s" % i, QFT_NUMBER,
1950 1950
                    "Spindles of %s disk" % numtext),
1951 1951
         IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDiskSpindles)),
1952 1952
        (_MakeField("disk.name/%s" % i, "DiskName/%s" % i, QFT_TEXT,
1953 1953
                    "Name of %s disk" % numtext),
1954
        IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDeviceName)),
1954
         IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDeviceName)),
1955 1955
        (_MakeField("disk.uuid/%s" % i, "DiskUUID/%s" % i, QFT_TEXT,
1956 1956
                    "UUID of %s disk" % numtext),
1957
        IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDeviceUUID))])
1957
         IQ_CONFIG, 0, _GetInstDisk(i, _GetInstDeviceUUID))])
1958 1958

  
1959 1959
  return fields
1960 1960

  
......
2794 2794
  # Add fields for usage statistics
2795 2795
  fields.extend([
2796 2796
    (_MakeField(name, title, kind, doc), NETQ_STATS, 0,
2797
    compat.partial(_GetNetworkStatsField, name, kind))
2797
     compat.partial(_GetNetworkStatsField, name, kind))
2798 2798
    for (name, (title, kind, _, doc)) in _NETWORK_STATS_FIELDS.items()])
2799 2799

  
2800 2800
  # Add timestamps

Also available in: Unified diff