)]}'
{
  "commit": "6ad74d9f369884f5ae4c40301c2c01a2ece33105",
  "tree": "e41b780806bab4f9188bbdd58a2cb6a6745602eb",
  "parents": [
    "5431c49ac5cb48b21534ab651182cacec1c75a6c"
  ],
  "author": {
    "name": "Matt Spinler",
    "email": "spinler@us.ibm.com",
    "time": "Tue Mar 01 10:56:46 2022 -0600"
  },
  "committer": {
    "name": "Ed Tanous",
    "email": "ed@tanous.net",
    "time": "Tue Mar 08 15:48:12 2022 +0000"
  },
  "message": "adc: Only process CPUReq sensors when CPUs change\n\nThe adcsensor application watches for the Present property to change on\nCPUs so that it can check if any ADC sensors that have the \u0027CPURequired\u0027\nconfiguration field need changes.\n\nHowever, in this case it was also deleting and recreating non-CPU\nrelated sensors, such as ones that measure the RTC battery voltage. This\nis a problem because if that sensor is below threshold, it will behave\nas if the threshold were newly asserted by emitting propertiesChanged\nsignals on the threshold alarm properties as well as emitting the\nThresholdAsserted signals again.\n\nFix this by changing the code to only process sensors that have the\nCPURequired field when handling CPU presence changes.\n\nTested:\nCheck D-Bus signals when CPU presence changes versus when a threshold\nconfiguration property changes and see the expected handling.\n\nSigned-off-by: Matt Spinler \u003cspinler@us.ibm.com\u003e\nChange-Id: I8f00726e71c85e70203a5cb6ee5dd99b4fe9e9c1\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fd61680b0a8cfe4f91630817fc16f86c0b0bf5fb",
      "old_mode": 33188,
      "old_path": "src/ADCSensorMain.cpp",
      "new_id": "401da120d6ca6ab1160ac7e6e737cceef21a1b14",
      "new_mode": 33188,
      "new_path": "src/ADCSensorMain.cpp"
    }
  ]
}
