From 22b0edabfe884db9a476f3c02d8ab33d07113230 Mon Sep 17 00:00:00 2001 From: SoXX Date: Wed, 16 Oct 2024 09:47:48 +0200 Subject: [PATCH] fix(grpc): force ID length to 25 chars --- pkg/plug/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plug/grpc.go b/pkg/plug/grpc.go index e53e1f9..a8c43b9 100644 --- a/pkg/plug/grpc.go +++ b/pkg/plug/grpc.go @@ -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())