From 7b43ba809bd257002d82c1815d4964b94dade45c Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 30 Apr 2016 10:53:42 +0200 Subject: [PATCH] Lower case JSON fields are nicer --- cmd/discosrv/querysrv.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/discosrv/querysrv.go b/cmd/discosrv/querysrv.go index f14d46a5d..9cd5a8912 100644 --- a/cmd/discosrv/querysrv.go +++ b/cmd/discosrv/querysrv.go @@ -34,8 +34,8 @@ type querysrv struct { } type announcement struct { - Seen time.Time - Addresses []string `json:"addresses"` + Seen time.Time `json:"seen"` + Addresses []string `json:"addresses"` } type safeCache struct {