fix(grpc): force ID length to 25 chars
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
All checks were successful
Gitea Build Check / Build (push) Successful in 59s
This commit is contained in:
parent
9de22d3176
commit
22b0edabfe
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user