fix: SMTP config in defaults (#3736)

* fix(command): create smtp provider cmds after domains

* chore(defaults): add smtp configuration
This commit is contained in:
Silvan
2022-05-30 17:39:18 +02:00
committed by GitHub
parent e897422541
commit 3513148cf6
3 changed files with 32 additions and 16 deletions

View File

@@ -158,6 +158,9 @@ func (c *Commands) prepareChangeSMTPConfig(a *instance.Aggregate, from, name, ho
host,
user,
)
if err != nil {
return nil, err
}
if !hasChanged {
return nil, caos_errs.ThrowPreconditionFailed(nil, "COMMAND-m0o3f", "Errors.NoChangesFound")
}