Skip to content

Commit d526000

Browse files
authored
Merge pull request #8668 from jackfrancis/single-uuid
CA: remove github.com/gofrs/uuid as an explicit dep
2 parents e97bbba + 0c4bc2e commit d526000

File tree

12 files changed

+7
-1214
lines changed

12 files changed

+7
-1214
lines changed

cluster-autoscaler/cloudprovider/exoscale/exoscale_cloud_provider_test.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"testing"
2323
"time"
2424

25-
"github.com/gofrs/uuid"
25+
"github.com/google/uuid"
2626
"github.com/stretchr/testify/mock"
2727
"github.com/stretchr/testify/suite"
2828
apiv1 "k8s.io/api/core/v1"
@@ -146,10 +146,7 @@ func (ts *cloudProviderTestSuite) TearDownTest() {
146146
}
147147

148148
func (ts *cloudProviderTestSuite) randomID() string {
149-
id, err := uuid.NewV4()
150-
if err != nil {
151-
ts.T().Fatalf("unable to generate a new UUID: %s", err)
152-
}
149+
id := uuid.New()
153150
return id.String()
154151
}
155152

cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/.version

Lines changed: 0 additions & 1 deletion
This file was deleted.

cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/LICENSE

Lines changed: 0 additions & 20 deletions
This file was deleted.

cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/codec.go

Lines changed: 0 additions & 279 deletions
This file was deleted.

0 commit comments

Comments
 (0)