Skip to content

Commit

Permalink
update UUID dependency (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxthomas authored and chilland committed Jun 6, 2018
1 parent c89d389 commit ed55cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ import:
- package: github.com/qntfy/jsonparser
version: ^1.0.2
- package: github.com/satori/go.uuid
version: 36e9d2ebbde5e3f13ab2e25625fd453271d6522e
version: ^1.2.0
5 changes: 1 addition & 4 deletions transform/uuid.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ func UUID(spec *Config, data []byte) ([]byte, error) {

switch version {
case 4:
u, err = uuid.NewV4()
if err != nil {
return nil, err
}
u = uuid.NewV4()

case 3, 5:
// choose the correct UUID function
Expand Down

0 comments on commit ed55cc7

Please sign in to comment.