Restore from snapshot logline
continuous-integration/drone/push Build is passing Details

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
1 changed files with 2 additions and 0 deletions

View File

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