diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-05-28 07:54:52 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-05-28 07:54:52 +0900 |
commit | 37d3629d8bb867de6b9cf396ca1222a2136e6e2b (patch) | |
tree | 86adb50d514c3449c0a62c64d1b22ebd8f63e7c9 /server/monitor.go | |
parent | 1e360ff7f5afca5bdaab04acd3a5ce8398cd5003 (diff) |
config: handle entry's empty name
Equal method assumes that an each entry has unique name and uses it as
a key for map. However, currently, an entry is allowed to have an
empty name. To work around the problem, uses an index in the list as a
key for map.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/monitor.go')
0 files changed, 0 insertions, 0 deletions