Restore from snapshot logline
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dae67e6be6
commit
fc78a7f375
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user