Removes more Wild Cloud cruft.
This commit is contained in:
@@ -60,7 +60,7 @@ func (api *API) DnsmasqRestart(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
// DnsmasqGenerate generates the dnsmasq configuration from global config.
|
||||
// Query param ?overwrite=true will write the config and restart the service.
|
||||
// Instance-specific DNS records are managed via service registration (not here).
|
||||
// Domain-specific DNS records are managed via domain registration and reconciliation.
|
||||
func (api *API) DnsmasqGenerate(w http.ResponseWriter, r *http.Request) {
|
||||
overwrite := r.URL.Query().Get("overwrite") == "true"
|
||||
|
||||
@@ -172,7 +172,7 @@ func writeConfigFile(path, content string) error {
|
||||
}
|
||||
|
||||
// updateDnsmasqConfig regenerates the main dnsmasq config from global config and restarts.
|
||||
// Instance-specific DNS records are managed via service registration (not here).
|
||||
// Domain-specific DNS records are managed via domain registration and reconciliation.
|
||||
func (api *API) updateDnsmasqConfig() error {
|
||||
globalConfigPath := api.statePath()
|
||||
globalCfg, err := config.LoadState(globalConfigPath)
|
||||
|
||||
Reference in New Issue
Block a user