mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-09 16:21:01 +08:00
Merge pull request #1981 from gravitl/story/GRA-1062
fix(GRA-1062): fix node expdate update
This commit is contained in:
commit
b543ea1394
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