remove debug

This commit is contained in:
Alex Dadgar 2016-08-19 17:30:16 -07:00
parent 58ebf11477
commit 7f18074637
1 changed files with 0 additions and 6 deletions

View File

@ -98,12 +98,6 @@ func (n *Node) Register(args *structs.NodeRegisterRequest, reply *structs.NodeUp
return err
}
have := ""
if originalNode != nil {
have = originalNode.SecretID
}
n.srv.logger.Printf("Incoming: %q; Have %q", args.Node.SecretID, have)
// Check if the SecretID has been tampered with
if !pre && originalNode != nil {
if args.Node.SecretID != originalNode.SecretID {