Fix bug in mapper for associations KeyError

In the active software image associations, the associations
property is initially empty, associations are added as images
become active. Remove the check for an empty associations
property. This check was causing the 'associations' dict
object to not be created, which was causing the KeyError.

Resolves openbmc/openbmc#2263

Change-Id: Ibc11d92d7bb99d22fbb31ed7b6196165431cee55
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2 files changed
tree: bea7e08e962ba55f66742ad9162c1c8cbe08365a
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. .gitignore
  5. bootstrap.sh
  6. configure.ac
  7. LICENSE
  8. Makefile.am
  9. phosphor-mapper
  10. README.md
  11. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.