[BUGFIX] do not decode lastseen
This commit is contained in:
parent
b5989710e8
commit
57955f30e3
|
@ -12,7 +12,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Node struct {
|
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"`
|
NodeID string `json:"node_id" gorm:"primary_key" mapstructure:"node_id"`
|
||||||
Blacklist *time.Time `json:"-"`
|
Blacklist *time.Time `json:"-"`
|
||||||
Address string `json:"ip"`
|
Address string `json:"ip"`
|
||||||
|
|
Loading…
Reference in New Issue