diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-08-13 21:25:12 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-13 21:25:12 +0000 |
commit | 9518f1b9c1b941d5465591843944a5ef438c60b2 (patch) | |
tree | 32195054417b76652bc8c994e7b57631cacbfdee /pkg/eventchannel/event_any.go | |
parent | 7d99670377713faba2ff56da646112e8ea767d87 (diff) | |
parent | 6eb8596f72f3c889de3f826b82319d41ac655829 (diff) |
Merge release-20210806.0-27-g6eb8596f7 (automated)
Diffstat (limited to 'pkg/eventchannel/event_any.go')
-rw-r--r-- | pkg/eventchannel/event_any.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/eventchannel/event_any.go b/pkg/eventchannel/event_any.go index 13f300061..b708937a4 100644 --- a/pkg/eventchannel/event_any.go +++ b/pkg/eventchannel/event_any.go @@ -26,3 +26,8 @@ import ( func newAny(m proto.Message) (*anypb.Any, error) { return anypb.New(m) } + +func emptyAny() *anypb.Any { + var any anypb.Any + return &any +} |