service name refactoring (#59)

This commit is contained in:
Michael Quigley
2022-09-14 14:16:37 -04:00
parent 366f7db982
commit 54b4161045
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ func (self *tunnelHandler) Handle(params tunnel.TunnelParams, principal *rest_mo
logrus.Error(err)
return tunnel.NewTunnelInternalServerError().WithPayload(rest_model_zrok.ErrorMessage(err.Error()))
}
svcName, err := randomId()
svcName, err := createServiceName()
if err != nil {
logrus.Error(err)
return tunnel.NewTunnelInternalServerError().WithPayload(rest_model_zrok.ErrorMessage(err.Error()))