refactor(config): remove DependencyCheckXMLPath in config.toml (#1100)

This commit is contained in:
Kota Kanbe
2020-12-25 06:38:00 +09:00
committed by GitHub
parent 5a14a58fe4
commit 53deaee3d7
2 changed files with 27 additions and 32 deletions

View File

@@ -164,10 +164,6 @@ func (c TOMLLoader) Load(pathToToml, keyPass string) error {
s.Containers[contName] = cont
}
if len(v.DependencyCheckXMLPath) != 0 || len(d.DependencyCheckXMLPath) != 0 {
return xerrors.Errorf("[DEPRECATED] dependencyCheckXMLPath IS DEPRECATED. USE owaspDCXMLPath INSTEAD: %s", serverName)
}
s.OwaspDCXMLPath = v.OwaspDCXMLPath
if len(s.OwaspDCXMLPath) == 0 {
s.OwaspDCXMLPath = d.OwaspDCXMLPath