diff --git a/dfget/config/supernode_value.go b/dfget/config/supernode_value.go index f5de545ff..5a28efd5e 100644 --- a/dfget/config/supernode_value.go +++ b/dfget/config/supernode_value.go @@ -129,7 +129,7 @@ func ParseNodesString(value string) ([]*NodeWight, error) { return ParseNodesSlice(strings.Split(value, ",")) } -// ParseNodesString parses the value in string slice type to []*NodeWight. +// ParseNodesSlice parses the value in string slice type to []*NodeWight. func ParseNodesSlice(value []string) ([]*NodeWight, error) { nodeWightSlice := make([]*NodeWight, 0) weightKey := make([]int, 0)