Allow SCS to launch without any container 98/28698/3
authorLukasz Kostyra <l.kostyra@samsung.com>
Mon, 13 Oct 2014 12:02:40 +0000 (14:02 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Wed, 15 Oct 2014 08:56:51 +0000 (10:56 +0200)
commit7ce7abac455827aef85ae5a8f369c25ba5331d4f
tree776365fbb5ff31eeef6a773d47ac992badee4b29
parent634bae3b8623ea01c1204613d69122e280cf08e5
Allow SCS to launch without any container

[Bug]           SCS segfaulted when launching without any containers provided in config.
[Cause]         Some functions assumed that certain config fields should never be empty
[Solution]      Additional checks to avoid segfault.
[Verification]  Build, install, run tests, launch SCS without any predefined containers.
                Try to switch between containers when less than two containers are present.

Change-Id: I58a69d55807f686fb168057dfb1b447707351a46
server/containers-manager.cpp