Skip to content

Commit

Permalink
[AIRFLOW-5867] Fix webserver unit_test_mode data type (apache#6517)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa authored and kaxil committed Nov 8, 2019
1 parent bec38b9 commit 6d798de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/bin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ def webserver(args):
print(
"Starting the web server on port {0} and host {1}.".format(
args.port, args.hostname))
app, _ = create_app(None, testing=conf.get('core', 'unit_test_mode'))
app, _ = create_app(None, testing=conf.getboolean('core', 'unit_test_mode'))
app.run(debug=True, use_reloader=not app.config['TESTING'],
port=args.port, host=args.hostname,
ssl_context=(ssl_cert, ssl_key) if ssl_cert and ssl_key else None)
Expand Down

0 comments on commit 6d798de

Please sign in to comment.