Restore from snapshot logline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adam Štrauch 2021-10-31 19:00:06 +01:00
parent dae67e6be6
commit fc78a7f375
Signed by: cx
GPG Key ID: 018304FFA8988F8D

View File

@ -198,6 +198,8 @@ func createEventHandler(m *nats.Msg, message *RequestMessage) error {
// Restore from snapshot if it's noted in the request // Restore from snapshot if it's noted in the request
if len(appTemplate.Snapshot) > 0 { if len(appTemplate.Snapshot) > 0 {
log.Printf("App %s is going to be created from %s snapshot\n", message.AppName, appTemplate.Snapshot)
// Setup processors // Setup processors
snapshotProcessor := apps.SnapshotProcessor{ snapshotProcessor := apps.SnapshotProcessor{
AppsPath: config.AppsPath, AppsPath: config.AppsPath,