[BUGFIX] do not decode lastseen

This commit is contained in:
Martin/Geno 2018-08-10 19:48:34 +02:00
parent b5989710e8
commit 57955f30e3
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

@ -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"`