bug on select target kie-server

This commit is contained in:
nheron 2020-11-12 14:13:10 +01:00
commit cbf24921a1
4 changed files with 19 additions and 10 deletions

View file

@ -63,7 +63,7 @@ public class UpdateService {
}
if (!found) {
MappingProperties newMappingProperties = new MappingProperties();
newMappingProperties.setPath(update.getPath());
newMappingProperties.setPath(UpdateService.removeSlach(update.getPath()));
logger.info("Creating path {}",update.getPath());
for (String destination : update.getServerNames()) {
newMappingProperties.getDestinations().add(destination);