Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pfc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def configPfcPrio(self, status, interface, priority):

"""Current lossless priorities on the interface"""
entry = self.config_db.get_entry('PORT_QOS_MAP', interface)
enable_prio = entry.get('pfc_enable').split(',')
enable_prio = entry.get('pfc_enable', '').split(',')

"""Avoid '' in enable_prio"""
enable_prio = [x.strip() for x in enable_prio if x.strip()]
Expand Down
Loading