Don't forget to prepend prefixes to names in v2 lists
This commit is contained in:
parent
788e97cf86
commit
8f72a82b13
|
@ -235,6 +235,7 @@ func (source *Source) parseV2(prefix string) ([]RegisteredServer, error) {
|
|||
if len(name) == 0 {
|
||||
return registeredServers, fmt.Errorf("Invalid format for source at [%s]", source.url)
|
||||
}
|
||||
name = prefix + name
|
||||
var stampStr string
|
||||
for _, subpart := range subparts {
|
||||
subpart = strings.TrimFunc(subpart, unicode.IsSpace)
|
||||
|
|
Loading…
Reference in New Issue