[scheduler] partial debug support

This commit is contained in:
Nico Schottelius 2019-12-31 14:22:44 +01:00
parent 2566e86f1e
commit eb19b10333
2 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,8 @@ if __name__ == '__main__':
host_parser = subparsers.add_parser("host")
host_parser.add_argument("--hostname", required=True)
scheduler_parser = subparsers.add_parser("scheduler")
scheduler_parser = subparsers.add_parser("scheduler", parents=[parent_parser])
filescanner_parser = subparsers.add_parser("filescanner")
imagescanner_parser = subparsers.add_parser("imagescanner")
metadata_parser = subparsers.add_parser("metadata")

View file

@ -16,7 +16,7 @@ from .helper import (
from . import logger
def main():
def main(debug=False):
for request_iterator in [
shared.etcd_client.get_prefix(
settings["etcd"]["request_prefix"], value_in_json=True