General cleanup when making components (#1098)

* Remove ParseMonolith/LoadMonolith

* cleanup which components need to be made
This commit is contained in:
Kegsay 2020-06-05 09:28:15 +01:00 committed by GitHub
parent 2bd12f635c
commit 29a20d1da7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 22 additions and 79 deletions

View file

@ -49,7 +49,7 @@ var (
)
func main() {
cfg := basecomponent.ParseMonolithFlags()
cfg := basecomponent.ParseFlags(true)
if *enableHTTPAPIs {
// If the HTTP APIs are enabled then we need to update the Listen
// statements in the configuration so that we know where to find