fix(grpc): force ID length to 25 chars
All checks were successful
Gitea Build Check / Build (push) Successful in 59s

This commit is contained in:
SoXX 2024-10-16 09:47:48 +02:00
parent 9de22d3176
commit 22b0edabfe

View File

@ -40,7 +40,7 @@ func (s *server) TaskStart(ctx context.Context, creation *gRPC.PlugTaskCreation)
var plugTaskState gRPC.PlugTaskStatus
id, err := gonanoid.New()
id, err := gonanoid.New(25)
if err != nil {
span.RecordError(err)
span.SetStatus(codes.Error, err.Error())