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

imrpove error message

parent 2bf943f0
No related branches found
No related tags found
1 merge request!220Improve error message on route creation
Pipeline #225490 passed
This commit is part of merge request !220. Comments created here will be created in the context of that merge request.
......@@ -385,8 +385,8 @@ func (kms *KMS) AssignForwardingRoute(pId, pHop, nHop string, remoteKMS *util.Re
kms.routingTableMutex.Unlock()
if tmpRoute.RemoteKMS == nil {
log.Error("NOOOOO REMOTE KMS")
return fmt.Errorf("NOOOOO REMOTE KMS")
log.Error("RemoteKMS in route nil")
return fmt.Errorf("RemoteKMS in route is nil")
}
if tmpRoute.RemoteKMS != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment