mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Use google/uuid instead of gofrs/uuid (#51242)
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/gofrs/uuid"
|
||||
"github.com/google/uuid"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
@@ -29,7 +29,7 @@ func addID(img *models.Image, id int64) *models.Image {
|
||||
}
|
||||
|
||||
func addToken(img *models.Image) *models.Image {
|
||||
token, err := uuid.NewV4()
|
||||
token, err := uuid.NewRandom()
|
||||
if err != nil {
|
||||
panic("wat")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user