Skip to content

Commit

Permalink
Switch to github.com/google/uuid dependency
Browse files Browse the repository at this point in the history
It seems to be more well maintained and reliable at this time.
google/uuid works out of box with Go modules, because the most recently
tagged version is compatible with master (at this time, they're equal).
  • Loading branch information
moshe010 committed Mar 28, 2020
1 parent a16b5a5 commit 768cdbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sriovnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package sriovnet

import (
"fmt"
"github.com/satori/go.uuid"
"github.com/google/uuid"
"github.com/vishvananda/netlink"
"log"
"net"
Expand Down Expand Up @@ -223,7 +223,7 @@ func setVfPortGuid(handle *PfNetdevHandle, vf *VfObj, guid []byte) error {

func SetVfDefaultGUID(handle *PfNetdevHandle, vf *VfObj) error {

uuid, err := uuid.NewV4()
uuid, err := uuid.NewRandom()
if err != nil {
return err
}
Expand Down

0 comments on commit 768cdbf

Please sign in to comment.