Skip to content

Commit 189f598

Browse files
authored
remove comments, raise issue instead
1 parent 400fd00 commit 189f598

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

utilities_common/multi_asic.py

-11
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,6 @@ def multi_asic_display_default_option():
114114
]
115115

116116
def multi_asic_namespace_validation_callback(ctx, param, value):
117-
# TODO: this condition has a bug: it should be either "multi_asic.is_multi_asic()"
118-
# or "self.is_multi_asic", but changing it to correct version will lead to the
119-
# following cli not working on single-asic:
120-
# show ip(v6) bgp neighbors/network, show storm_control add/del
121-
# e.g.
122-
# admin@str2-7050cx3-acs-02:/usr$ show ip bgp neighbor -n asic0
123-
# -n/--namespace is not available for single asic
124-
# Aborted!
125-
# admin@str2-7050cx3-acs-02:/usr$ show ip bgp neighbor
126-
# -n/--namespace is not available for single asic
127-
# Aborted!
128117
if not multi_asic.is_multi_asic:
129118
click.echo("-n/--namespace is not available for single asic")
130119
ctx.abort()

0 commit comments

Comments
 (0)