Fixed bug on updated
This commit is contained in:
parent
f298f59dc5
commit
1dbf73bc41
|
@ -686,10 +686,7 @@ public class GCoreISConfigurationProxy {
|
|||
public ServiceCatalogueConfiguration updateOnIS(ServiceEndpoint serviceEndpoint) throws Exception {
|
||||
RegistryPublisher registryPublisher = RegistryPublisherFactory.create();
|
||||
String id = serviceEndpoint.id();
|
||||
if(catalogueConfiguration.getID().compareTo(id)!=0) {
|
||||
catalogueConfiguration.setID(id);
|
||||
}
|
||||
|
||||
serviceEndpoint = createServiceEndpoint(serviceEndpoint);
|
||||
registryPublisher.update(serviceEndpoint);
|
||||
return catalogueConfiguration;
|
||||
|
|
Loading…
Reference in New Issue