Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
Fix uuid.NewV4 usage to allow gcp-connector-util to build again (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoode authored and jay0lee committed Jan 26, 2018
1 parent 36f6d56 commit c1ec5ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gcp-connector-util/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,11 @@ func initConfigFile(context *cli.Context) error {
if context.IsSet("proxy-name") {
proxyName = context.String("proxy-name")
} else {
proxyName = uuid.NewV4().String()
v4, err := uuid.NewV4()
if err != nil {
return err
}
proxyName = v4.String()
}

var userClient *http.Client
Expand Down

0 comments on commit c1ec5ef

Please sign in to comment.