From 57955f30e387f837d86b28d08494e9c96d38aea0 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Fri, 10 Aug 2018 19:48:34 +0200 Subject: [PATCH] [BUGFIX] do not decode lastseen --- runtime/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/node.go b/runtime/node.go index 9cb006d..6d87308 100644 --- a/runtime/node.go +++ b/runtime/node.go @@ -12,7 +12,7 @@ import ( ) type Node struct { - Lastseen jsontime.Time `json:"lastseen" gorm:"-"` + Lastseen jsontime.Time `json:"lastseen" mapstructure:"-" gorm:"-"` NodeID string `json:"node_id" gorm:"primary_key" mapstructure:"node_id"` Blacklist *time.Time `json:"-"` Address string `json:"ip"`