Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/services/microservices-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -709,12 +709,13 @@ async function _deletePortMapping(microserviceUuid, internalPort, user, isCLI, t
}

async function _deleteSimplePortMapping(microservice, msPorts, user, transaction) {
await MicroservicePortManager.delete({id: msPorts.id}, transaction)
await MicroservicePortManager.delete({id: msPorts.id}, transaction);

const updateRebuildMs = {
rebuild: true
}
await MicroserviceManager.update({uuid: microservice.uuid}, updateRebuildMs, transaction)
};
await MicroserviceManager.update({uuid: microservice.uuid}, updateRebuildMs, transaction);
await ChangeTrackingService.update(microservice.iofogUuid, ChangeTrackingService.events.microserviceCommon, transaction);
}

async function _deletePortMappingOverConnector(microservice, msPorts, user, transaction) {
Expand Down