MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / removeLegacyAuthBlock

Function removeLegacyAuthBlock

internal/config/config.go:1982–1987  ·  view source on GitHub ↗
(root *yaml.Node)

Source from the content-addressed store, hash-verified

1980}
1981
1982func removeLegacyAuthBlock(root *yaml.Node) {
1983 if root == nil || root.Kind != yaml.MappingNode {
1984 return
1985 }
1986 removeMapKey(root, "auth")
1987}

Callers 1

Calls 1

removeMapKeyFunction · 0.85

Tested by

no test coverage detected