3
0

Fix provisioning over new store

This commit is contained in:
Denis Arh
2020-09-08 10:16:45 +02:00
parent f31b9bc3a3
commit 4e2f9fdfcd
5 changed files with 20 additions and 12 deletions

View File

@@ -228,11 +228,11 @@ func (app *CortezaApp) Provision(ctx context.Context) (err error) {
ctx = auth.SetSuperUserContext(ctx)
if err = system.Provision(ctx, app.Log, app.Store); err != nil {
return fmt.Errorf("could not provision messaging: %w", err)
return fmt.Errorf("could not provision system: %w", err)
}
if err = compose.Provision(ctx, app.Log); err != nil {
return fmt.Errorf("could not provision messaging: %w", err)
return fmt.Errorf("could not provision compose: %w", err)
}
if err = messaging.Provision(ctx, app.Log); err != nil {