From fc78a7f375ca4a22b7e36fef9ba22bcc4eb49b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sun, 31 Oct 2021 19:00:06 +0100 Subject: [PATCH] Restore from snapshot logline --- handlers_nats.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers_nats.go b/handlers_nats.go index 0b00b0c..165925b 100644 --- a/handlers_nats.go +++ b/handlers_nats.go @@ -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,