19f38fa25d
change getDeviceInfo to return primary device with sun devices listed, fix bug in approveResources when checking list type resources