Skip to content

Commit

Permalink
Remove unused config loading in registrar (#298)
Browse files Browse the repository at this point in the history
Actually it was not used thus can be removed.
  • Loading branch information
kaifeng committed May 3, 2020
1 parent 78fe0d3 commit 610565d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions keylime/registrar_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,6 @@ def start(tlsport, port):
servers = []
serveraddr = ('', tlsport)

config = common.get_config()
config.read(common.CONFIG_FILE)
os.umask(0o077)
kl_dir = os.path.dirname(os.path.abspath(database))
if not os.path.exists(kl_dir):
Expand Down

0 comments on commit 610565d

Please sign in to comment.