mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-03 22:02:12 -04:00
Merge pull request #28932 from smarterclayton/fix_protobuf_error
Automatic merge from submit-queue Fail correctly in go-to-protobuf We need to return earlier. @wojtek-t
This commit is contained in:
commit
bea382c124
1 changed files with 3 additions and 3 deletions
|
|
@ -179,13 +179,13 @@ func Run(g *Generator) {
|
|||
},
|
||||
"public",
|
||||
)
|
||||
c.Verify = g.Common.VerifyOnly
|
||||
c.FileTypes["protoidl"] = NewProtoFile()
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("Failed making a context: %v", err)
|
||||
}
|
||||
|
||||
c.Verify = g.Common.VerifyOnly
|
||||
c.FileTypes["protoidl"] = NewProtoFile()
|
||||
|
||||
if err := protobufNames.AssignTypesToPackages(c); err != nil {
|
||||
log.Fatalf("Failed to identify Common types: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue