Skip to content
Snippets Groups Projects
Commit 9b897c95 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix undeclared variable

parent ae4564fd
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ func (m *RegistrationImpl) RegisterNode(ID []byte, ServerAddr, ServerTlsCert,
return errors.Errorf(
"Node with registration code %+v has already been registered", RegistrationCode)
}
pk := &m.State.GetPrivateKey().PrivateKey
// Load the node and gateway certs
nodeCertificate, err := tls.LoadCertificate(ServerTlsCert)
if err != nil {
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment