mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
cmd/utils: add comment
This commit is contained in:
parent
928c8a242a
commit
7c60c1c845
1 changed files with 1 additions and 0 deletions
|
|
@ -2016,6 +2016,7 @@ func SetupMetrics(cfg *metrics.Config) {
|
|||
}
|
||||
}
|
||||
|
||||
// SplitTagsFlag parses a comma-separated list of k=v metrics tags.
|
||||
func SplitTagsFlag(tagsFlag string) map[string]string {
|
||||
tags := strings.Split(tagsFlag, ",")
|
||||
tagsMap := map[string]string{}
|
||||
|
|
|
|||
Loading…
Reference in a new issue