mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Make warning more detailed
Co-authored-by: Waldemar Quevedo <wally@synadia.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user