Skip to content

Commit 4d9bb9f

Browse files
authored
Adding Channel Id Field DSL Port Channel Operations (#615)
1 parent 9261b1d commit 4d9bb9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/mscclpp/language/internal/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def to_dict(self):
567567
result["dst_buff"] = []
568568
for chunk in self.dst_buff:
569569
result["dst_buff"].append(chunk.to_dict())
570-
if self.channel_ids == ChannelType.port:
570+
if self.channel_type == ChannelType.port:
571571
result["channel_ids"] = self.channel_ids
572572
result["channel_type"] = self.channel_type.value
573573
return result

0 commit comments

Comments
 (0)