diff options
author | Kun Yi <kunyi731@gmail.com> | 2019-11-14 13:08:39 -0800 |
---|---|---|
committer | Kun Yi <kunyi731@gmail.com> | 2019-11-21 10:06:48 -0800 |
commit | 9ce834822ed625512913e14b83c50487d4b2c12b (patch) | |
tree | 8d1d69ece698ffb4ad06a5d2c337ed6a08bf5080 /test/manager_delete_unittest.cpp | |
parent | aa17bdaf3e34ce3a876dfb828ace2ec2c635e5e5 (diff) | |
download | phosphor-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 'test/manager_delete_unittest.cpp')
0 files changed, 0 insertions, 0 deletions