commit | adc1b31953b8842f9eec78245d9c5da8c7c08df2 | [log] [tgz] |
---|---|---|
author | Himani Chawla <hichawla@ciena.com> | Thu Feb 04 13:12:33 2021 +0530 |
committer | Himani Chawla <hichawla@ciena.com> | Thu Feb 04 13:12:33 2021 +0530 |
tree | 8f441c101c9dc78982877e011d8a7d475ba59ada | |
parent | 26ccc88a2d1f21a2feeea61a5d06122759715ff6 [diff] |
Code changes for adding NONE as subcategory Change-Id: Id2e239056f5be7fd33941fb76e8cfd6a30a2e162
diff --git a/pkg/events/events_proxy.go b/pkg/events/events_proxy.go index a4b12f7..c4014ee 100644 --- a/pkg/events/events_proxy.go +++ b/pkg/events/events_proxy.go
@@ -78,6 +78,8 @@ header.Category = category if subCategory != nil { header.SubCategory = *subCategory + } else { + header.SubCategory = voltha.EventSubCategory_NONE } header.Type = eventType header.TypeVersion = eventif.EventTypeVersion