Add channel name as envoy resource identifier

This will prevent creation of chan dups
This commit is contained in:
Denis Arh
2020-11-30 20:24:41 +01:00
parent 463a3b2165
commit b0f0e8fa60
+1 -1
View File
@@ -18,7 +18,7 @@ func NewMessagingChannel(res *types.Channel) *MessagingChannel {
r.SetResourceType(MESSAGING_CHANNEL_RESOURCE_TYPE)
r.Res = res
r.AddIdentifier(identifiers(res.ID)...)
r.AddIdentifier(identifiers(res.ID, res.Name)...)
return r
}