mirror of
https://github.com/gravitl/netmaker.git
synced 2025-12-10 14:27:26 +08:00
fix(GRA-1062): fix node expdate update
This commit is contained in:
parent
cdd8527b51
commit
bb0956f85f
1 changed files with 1 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ func (nm *Node) ConvertToAPINode() *ApiNode {
|
|||
apiNode.LastModified = nm.LastModified.Unix()
|
||||
apiNode.LastCheckIn = nm.LastCheckIn.Unix()
|
||||
apiNode.LastPeerUpdate = nm.LastPeerUpdate.Unix()
|
||||
apiNode.ExpirationDateTime = nm.ExpirationDateTime.Unix()
|
||||
apiNode.Network = nm.Network
|
||||
apiNode.NetworkRange = nm.NetworkRange.String()
|
||||
if isEmptyAddr(apiNode.NetworkRange) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue