Commit 18332df3 authored by Matthew Holt's avatar Matthew Holt

Refactor output out of Start()

parent b9f8c183
......@@ -155,6 +155,15 @@ func Start(cdyfile Input) (err error) {
}
startedBefore = true
showInitializationOutput(groupings)
return nil
}
// showInitializationOutput just outputs some basic information about
// what is being served to stdout, as well as any applicable, non-essential
// warnings for the user.
func showInitializationOutput(groupings bindingGroup) {
// Show initialization output
if !Quiet && !IsRestart() {
var checkedFdLimit bool
......@@ -175,8 +184,6 @@ func Start(cdyfile Input) (err error) {
}
}
}
return nil
}
// startServers starts all the servers in groupings,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment