deps: Update Go modules, remove duplicate

Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
Chris Crone 2020-11-23 15:03:03 +01:00
parent 7a740aebf5
commit 03e95839c8
4 changed files with 46 additions and 41 deletions

View file

@ -17,7 +17,7 @@
package proxy
import (
"github.com/google/uuid"
"github.com/hashicorp/go-uuid"
"github.com/sirupsen/logrus"
"google.golang.org/grpc/metadata"
@ -28,8 +28,11 @@ import (
func (p *proxy) NewStream(stream streamsv1.Streaming_NewStreamServer) error {
var (
ctx = stream.Context()
id = uuid.New().String()
)
id, err := uuid.GenerateUUID()
if err != nil {
return err
}
md := metadata.New(map[string]string{
"id": id,
})