Skip to content
Snippets Groups Projects
Commit 3c533c47 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent ababc6fe
Branches
Tags
1 merge request!220Improve error message on route creation
Pipeline #225501 passed
...@@ -385,7 +385,7 @@ func (kms *KMS) AssignForwardingRoute(pId, pHop, nHop string, remoteKMS *util.Re ...@@ -385,7 +385,7 @@ func (kms *KMS) AssignForwardingRoute(pId, pHop, nHop string, remoteKMS *util.Re
kms.routingTableMutex.Unlock() kms.routingTableMutex.Unlock()
if tmpRoute.RemoteKMS == nil { if tmpRoute.RemoteKMS == nil {
log.Error("RemoteKMS in route nil") log.Error("RemoteKMS in route is nil")
return fmt.Errorf("RemoteKMS in route is nil") return fmt.Errorf("RemoteKMS in route is nil")
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment