Browse code

Add missing file argument to iniset_multiline

Change Id9aab356b36b2150312324a0349d120bbbbd4e63 introduced a call to
iniset_multiline to enable swift stores explicitly. However, the call
has a missing file argument which resulted in this call setting the
values to the wrong file, section and param. This patch fixes that.

Change-Id: Ib17048e05c467bc8ca2c13fe4297d6bac6c8a880

Flavio Percoco authored on 2014/01/23 21:48:16
Showing 1 changed files
... ...
@@ -125,7 +125,7 @@ function configure_glance() {
125 125
         iniset $GLANCE_API_CONF DEFAULT swift_store_key $SERVICE_PASSWORD
126 126
         iniset $GLANCE_API_CONF DEFAULT swift_store_create_container_on_put True
127 127
 
128
-        iniset_multiline DEFAULT known_stores glance.store.filesystem.Store glance.store.http.Store glance.store.swift.Store
128
+        iniset $GLANCE_API_CONF DEFAULT known_stores "glance.store.filesystem.Store, glance.store.http.Store, glance.store.swift.Store"
129 129
     fi
130 130
 
131 131
     cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI