Make warning more detailed

Co-authored-by: Waldemar Quevedo <wally@synadia.com>
This commit is contained in:
Derek Collison
2022-03-17 14:59:14 -07:00
committed by GitHub
parent e204a7961d
commit 0bb84bf76b

View File

@@ -1502,7 +1502,7 @@ func parseURLs(a []interface{}, typ string, warnings *[]error) (urls []*url.URL,
field: sURL,
configErr: configErr{
token: tk,
reason: "Duplicate entry detected",
reason: fmt.Sprintf("Duplicate %s entry detected", typ),
},
}
*warnings = append(*warnings, err)