[scheduler] partial debug support
This commit is contained in:
parent
2566e86f1e
commit
eb19b10333
2 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,8 @@ if __name__ == '__main__':
|
||||||
host_parser = subparsers.add_parser("host")
|
host_parser = subparsers.add_parser("host")
|
||||||
host_parser.add_argument("--hostname", required=True)
|
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")
|
filescanner_parser = subparsers.add_parser("filescanner")
|
||||||
imagescanner_parser = subparsers.add_parser("imagescanner")
|
imagescanner_parser = subparsers.add_parser("imagescanner")
|
||||||
metadata_parser = subparsers.add_parser("metadata")
|
metadata_parser = subparsers.add_parser("metadata")
|
||||||
|
|
|
@ -16,7 +16,7 @@ from .helper import (
|
||||||
from . import logger
|
from . import logger
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main(debug=False):
|
||||||
for request_iterator in [
|
for request_iterator in [
|
||||||
shared.etcd_client.get_prefix(
|
shared.etcd_client.get_prefix(
|
||||||
settings["etcd"]["request_prefix"], value_in_json=True
|
settings["etcd"]["request_prefix"], value_in_json=True
|
||||||
|
|
Loading…
Reference in a new issue