vendor protobuf & grpc
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
4
vendor/github.com/gogo/protobuf/plugin/populate/populate.go
generated
vendored
4
vendor/github.com/gogo/protobuf/plugin/populate/populate.go
generated
vendored
@@ -584,9 +584,9 @@ func (p *plugin) Generate(file *generator.FileDescriptor) {
|
||||
p.GenerateField(file, message, field)
|
||||
} else {
|
||||
if loopLevels[fieldIndex] > 0 {
|
||||
p.P(`if r.Intn(10) == 0 {`)
|
||||
p.P(`if r.Intn(5) == 0 {`)
|
||||
} else {
|
||||
p.P(`if r.Intn(10) != 0 {`)
|
||||
p.P(`if r.Intn(5) != 0 {`)
|
||||
}
|
||||
p.In()
|
||||
p.GenerateField(file, message, field)
|
||||
|
||||
Reference in New Issue
Block a user