summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorKun Yi <kunyi731@gmail.com>2019-11-14 13:08:39 -0800
committerKun Yi <kunyi731@gmail.com>2019-11-21 10:06:48 -0800
commit9ce834822ed625512913e14b83c50487d4b2c12b (patch)
tree8d1d69ece698ffb4ad06a5d2c337ed6a08bf5080 /main.cpp
parentaa17bdaf3e34ce3a876dfb828ace2ec2c635e5e5 (diff)
downloadphosphor-ipmi-blobs-9ce834822ed625512913e14b83c50487d4b2c12b.tar.gz
phosphor-ipmi-blobs-9ce834822ed625512913e14b83c50487d4b2c12b.zip
cleanup: Operate on members directly and allow empty paths in the lookup table
Instead of using private methods to change data, directly operate on it. Currently no test depends on these methods. There is also a minor bug fix: the previous code will not increment or decrement the open session count if the blobId is an empty string, however there is no check on the manager side. If empty blobIds are disallowed they should be checked earlier. Signed-off-by: Kun Yi <kunyi731@gmail.com> Change-Id: I8d97e098bed2d5c27a204a86ed688d0d9a98f0a2
Diffstat (limited to 'main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud