Skip to content

Commit

Permalink
Use different rand library, fix random string generation
Browse files Browse the repository at this point in the history
Signed-off-by: grantseltzer <[email protected]>
  • Loading branch information
grantseltzer committed Dec 19, 2024
1 parent 2042947 commit b217d7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/dynamicinstrumentation/diconfig/location_expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ import (
"reflect"
"strings"

"math/rand"

"github.com/DataDog/datadog-agent/pkg/dynamicinstrumentation/ditypes"
"github.com/DataDog/datadog-agent/pkg/util/log"
"golang.org/x/exp/rand"
)

// GenerateLocationExpression takes metadata about a parameter, including its type and location, and generates a list of
Expand Down

0 comments on commit b217d7a

Please sign in to comment.