mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Refactor assmebling proto files to avoid code duplication
This commit is contained in:
@@ -170,7 +170,7 @@ func Run(g *Generator) {
|
||||
"public",
|
||||
)
|
||||
c.Verify = g.Common.VerifyOnly
|
||||
c.FileTypes["protoidl"] = protoIDLFileType{}
|
||||
c.FileTypes["protoidl"] = NewProtoFile()
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("Failed making a context: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user