Alerting: Use google/uuid instead of gofrs/uuid (#51242)

This commit is contained in:
Emil Tullstedt
2022-06-28 11:57:24 +02:00
committed by GitHub
parent 5aab8b710b
commit 7d815a1db5
4 changed files with 9 additions and 9 deletions

View File

@@ -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")
}