Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile.core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ $(operator_v1alpha1_pb_gos) $(operator_v1alpha1_pb_doc) $(operator_v1alpha1_pb_p
@cp -r /tmp/istio.io/api/operator/* operator
@sed -i -E '/MarshalJSON is a custom marshaler for TypeMapStringInterface2/,+10d' $(operator_v1alpha1_path)/operator_json.gen.go
@sed -i -E '/MarshalJSON is a custom marshaler for TypeInterface2/,+10d' $(operator_v1alpha1_path)/operator_json.gen.go
@sed -i 's/gogo/golang/g' $(operator_v1alpha1_path)/operator_json.gen.go
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels like the wrong way to do this but I'm not a proto expert

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@go run $(repo_dir)/operator/fixup_structs/main.go -f $(operator_v1alpha1_path)/component.pb.go
@go run $(repo_dir)/operator/fixup_structs/main.go -f $(operator_v1alpha1_path)/kubernetes.pb.go
@go run $(repo_dir)/operator/fixup_structs/main.go -f $(operator_v1alpha1_path)/operator.pb.go
Expand Down
10 changes: 5 additions & 5 deletions operator/v1alpha1/operator_json.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.