verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
(cherry picked from commit 972adafd29)
This commit is contained in:
committed by
Ralf Haferkamp
parent
deac05a540
commit
1c9da9a0be
@@ -49,5 +49,9 @@ func Validate(cfg *config.Config) error {
|
||||
return shared.MissingAdminUserID(cfg.Service.Name)
|
||||
}
|
||||
|
||||
if len(cfg.ServiceAccountIDs) == 0 {
|
||||
return shared.MissingServiceAccountID(cfg.Service.Name)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user