entry.getKey(), entry.getValue());
updated.put(config.getType(), config);
}
if (!updated.isEmpty()) {
sc.updateDesiredConfigs(updated);
for (ServiceComponentHost sch :
sc.getServiceComponentHosts().values()) {
sch.deleteDesiredConfigs(updated.keySet());
sch.persist();
}