INNER CODE UNIT · Go
skipUnnecessaryFieldsForCheck
devtron-labs/devtron · WiringNilCheck.go:102
func skipUnnecessaryFieldsForCheck(fieldName, valName string) bool {
fieldName = strings.ToLower(fieldName)
valName = strings.ToLower(valName)
if valName == "cicdconfig" {
return true
}
fieldAndValName := map[string][]string{
"app": {"enforcerv2", "server"},
"gitfactory": {"client"},
"argocdconnectionmanagerimpl": {"argocdsettings"},
"enforcerimpl": {"cache", "enforcerv2"},
"helmappclientimpl": {"applicationserviceclient"},
"modulecronserviceimpl": {"cron"},
"oteltracingserviceimpl": {"traceprovider"},
"terminalaccessrepositoryimpl": {"templatescache"},
"grpcapiclientimpl": {"serviceclient"},
"serverenvconfig": {"errorencounteredongettingdevtronhelmrelease"},
}