Legacy format: store server descriptions

This commit is contained in:
Frank Denis 2018-01-31 09:45:10 +01:00
parent f8a6e56026
commit 148d900a72
1 changed files with 2 additions and 1 deletions

View File

@ -194,6 +194,7 @@ func (source *Source) parseV1(prefix string) ([]RegisteredServer, error) {
continue
}
name := prefix + record[0]
description := record[2]
serverAddrStr := record[10]
providerName := record[11]
serverPkStr := record[12]
@ -209,7 +210,7 @@ func (source *Source) parseV1(prefix string) ([]RegisteredServer, error) {
return registeredServers, err
}
registeredServer := RegisteredServer{
name: name, stamp: stamp,
name: name, stamp: stamp, description: description,
}
dlog.Debugf("Registered [%s] with stamp [%s]", name, stamp.String())
registeredServers = append(registeredServers, registeredServer)