fixed tests

This commit is contained in:
Matthew R Kasun
2021-05-09 13:31:50 -04:00
parent 073be947c6
commit bb2bb0e1ee
8 changed files with 51 additions and 42 deletions

View File

@@ -223,7 +223,7 @@ func (s *NodeServiceServer) UpdateNode(ctx context.Context, req *nodepb.UpdateNo
// Get the node data from the request
data := req.GetNode()
// Now we have to convert this into a NodeItem type to convert into BSON
nodechange := models.Node{
nodechange := models.NodeUpdate{
// ID: primitive.NilObjectID,
MacAddress: data.GetMacaddress(),
Name: data.GetName(),