To make code less confusing default this flag to True even though it's
unused.
@@ -67,7 +67,7 @@ def register_opts():
help=('Don\'t exit with non-zero if some resource registration fails.')),
# Note: Fail on failure is now a default behavior. This flag is only left here for backward
# compatibility reasons, but it's not actually used.
- cfg.BoolOpt('fail-on-failure', default=False,
+ cfg.BoolOpt('fail-on-failure', default=True,
help=('Exit with non-zero if some resource registration fails.'))
]
try:
