Update linter

This commit is contained in:
Ludovic Fernandez
2020-05-11 12:06:07 +02:00
committed by GitHub
parent f12c27aa7c
commit 328611c619
157 changed files with 489 additions and 508 deletions

View File

@@ -28,7 +28,7 @@ func EncodeConfiguration(conf *dynamic.Configuration) (map[string]string, error)
}
// Decode converts the labels to an element.
// labels -> [ node -> node + metadata (type) ] -> element (node)
// labels -> [ node -> node + metadata (type) ] -> element (node).
func Decode(labels map[string]string, element interface{}, filters ...string) error {
return parser.Decode(labels, element, parser.DefaultRootName, filters...)
}