ICU-934/Verify controller config block (#851)
* Verify controller config block * update changelog
This commit is contained in:
1 parent
9a9efd16e2
commit
dbc796759b
2 files changed
+16
-3
No files matched your search
@@ -227,6 +227,11 @@ func (c *InitCommand) Run(args []string) (retCode int) {
|
||||
"in a Docker container, provide the IPC_LOCK cap to the container."))
|
||||
}
|
||||
|
||||
if c.Config.Controller == nil {
|
||||
c.UI.Error(`"controller" config block not found`)
|
||||
return 1
|
||||
}
|
||||
|
||||
if c.Config.Controller.Database == nil {
|
||||
c.UI.Error(`"controller.database" config block not found`)
|
||||
return 1
|
||||
|
||||
Reference in new issue
Block a user