Skip to content

Commit

Permalink
Revert "return list for _get_optional_services() (sonic-net#822)" (so…
Browse files Browse the repository at this point in the history
…nic-net#848)

This reverts commit f1c79d5.
  • Loading branch information
lguohan authored Mar 22, 2020
1 parent f1c79d5 commit 6f54e8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ def _get_optional_services():
config_db = ConfigDBConnector()
config_db.connect()
optional_services_dict = config_db.get_table('FEATURE')
if not optional_services_dict:
return None
return optional_services_dict.keys()

def _stop_services():
Expand Down

0 comments on commit 6f54e8c

Please sign in to comment.