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
4 changes: 3 additions & 1 deletion src/services/diagnostic-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ const postMicroserviceImageSnapshotCreate = async function (microserviceUuid, us
throw new Errors.ValidationError(ErrorMessages.IMAGE_SNAPSHOT_WITHOUT_FOG);
}

let imageSnapshot = 'get_image';
const microserviceToUpdate = {
imageSnapshot: 'get_image'
};

await MicroserviceManager.update({uuid: microservice.uuid}, microserviceToUpdate, transaction);
await ChangeTrackingService.update(microservice.iofogUuid, ChangeTrackingService.events.imageSnapshot, transaction);
Expand Down