summaryrefslogtreecommitdiffstats
path: root/cooling-type
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2019-02-14 16:07:00 -0600
committerMatthew Barth <msbarth@us.ibm.com>2019-02-18 09:46:13 -0600
commita2bed6ed873b18cd150d3e26845391df03649a78 (patch)
tree164c71c5a25e7ba58451884c07acc0cfac4f3637 /cooling-type
parentb390df1ec2d6551419a392cf08e09afdc1d1eae6 (diff)
downloadphosphor-fan-presence-a2bed6ed873b18cd150d3e26845391df03649a78.tar.gz
phosphor-fan-presence-a2bed6ed873b18cd150d3e26845391df03649a78.zip
Initially use default current mode upon restoring
When restoring the persisted current mode, initially set the current mode to what's already provided. When no interface is defined within the zone yaml, a default value of "Default" is already set on the Control.ThermalMode interface. If an interface is provided on the zone yaml, and the Current property is initialized to a value, use this value initially upon restoring. During the restore, this value could change to what was persisted. Tested: Current mode is set correctly upon initialization & restore Change-Id: I0fae247303903d85e95fc044c96fc1809df2fa03 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'cooling-type')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud