MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / ensureOpenclawUpdateDefaults

Function ensureOpenclawUpdateDefaults

agent/app/service/agents_utils.go:207–212  ·  view source on GitHub ↗
(conf map[string]interface{})

Source from the content-addressed store, hash-verified

205}
206
207func ensureOpenclawUpdateDefaults(conf map[string]interface{}) {
208 update := ensureChildMap(conf, "update")
209 if _, ok := update["checkOnStart"]; !ok {
210 update["checkOnStart"] = false
211 }
212}
213
214func setTrustedProxies(gateway map[string]interface{}) {
215 proxies := make([]string, 0, 4)

Callers 1

writeOpenclawConfigRawFunction · 0.85

Calls 1

ensureChildMapFunction · 0.85

Tested by

no test coverage detected