Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-selvaraj committed Nov 9, 2021
1 parent 55768bd commit 7542172
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/storm_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
#
############################################

import _pickle as pickle
import argparse
import datetime
import json
import sys
import os
import time

# mock the redis for unit test purposes #
try:
Expand Down Expand Up @@ -55,7 +51,7 @@ def show_storm_config(self, port):
kbps = data['kbps']
body.append([port, storm_type, kbps])
else:
for storm_key in sorted_table:
for storm_key in storm_configs:
interface_name = storm_key[0]
storm_type = storm_key[1]
data = self.db.get_entry(STORM_TABLE_NAME, storm_key)
Expand Down

0 comments on commit 7542172

Please sign in to comment.