ciao-controller: Initialise workloads correctly on restart
ciao-controller: Initialise workloads correctly on restart

This commit fixes a small bug in which images and workloads were corrupted in
the controller cache after a service restart.  The workloads were being added
to the images slice by mistake.

Fixes: https://github.com/ciao-project/ciao/issues/1576

Signed-off-by: Mark Ryan <f16215f7acd0bd7fdc465539215bd574c785b062@intel.com>

kaccardi/ciao,ciao-project/ciao,kaccardi/ciao,01org/ciao,ciao-project/ciao,01org/ciao