Skip to content

Commit

Permalink
[dropconfig] Clean-up error output for devices that do not support dr…
Browse files Browse the repository at this point in the history
…op counters (sonic-net#784)

Signed-off-by: Danny Allen <daall@microsoft.com>
  • Loading branch information
daall committed Jan 17, 2020
1 parent c217c0c commit 98e8795
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/dropconfig
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class DropConfig(object):

if not device_caps:
print('Current device does not support drop counters')
return

table = []
for counter, capabilities in device_caps.iteritems():
Expand Down

0 comments on commit 98e8795

Please sign in to comment.