3f15326248
Update github.com/aws/aws-sdk-go and github.com/hashicorp/go-discover to pick up support for EC2 Metadata Instance Service v2 changes. Follow up to https://github.com/hashicorp/go-discover/pull/128 .
12 lines
220 B
Go
12 lines
220 B
Go
// +build go1.6
|
|
|
|
package sdkrand
|
|
|
|
import "math/rand"
|
|
|
|
// Read provides the stub for math.Rand.Read method support for go version's
|
|
// 1.6 and greater.
|
|
func Read(r *rand.Rand, p []byte) (int, error) {
|
|
return r.Read(p)
|
|
}
|