Skip to content

Commit

Permalink
Makefile: fix logpb generation
Browse files Browse the repository at this point in the history
We needed to pass the flag. This will hit problems if any of the deps of the
file change.

Release justification: fixes the build

Release note: None
  • Loading branch information
ajwerner committed Aug 19, 2022
1 parent c4d4a0b commit cb66396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ pkg/util/log/eventpb/json_encode_generated.go: $(EVENTPBGEN_PKG) pkg/util/log/ev
mv -f $@.tmp $@

pkg/util/log/logpb/json_encode_generated.go: $(EVENTPBGEN_PKG) pkg/util/log/logpb/event.proto | bin/.go_protobuf_sources
$(GO) run $(GOMODVENDORFLAGS) ./$< json_encode_go pkg/util/log/logpb/event.proto >$@.tmp || { rm -f $@.tmp; exit 1; }
$(GO) run $(GOMODVENDORFLAGS) ./$< --package logpb json_encode_go pkg/util/log/logpb/event.proto >$@.tmp || { rm -f $@.tmp; exit 1; }
mv -f $@.tmp $@

docs/generated/logging.md: pkg/util/log/gen/main.go pkg/util/log/logpb/log.proto | bin/.bootstrap
Expand Down

0 comments on commit cb66396

Please sign in to comment.