From: Tony Asleson <tasleson@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - lvmdbusd: Remove addl. checks on --nojson
Date: Mon, 19 Sep 2022 15:57:47 +0000 (GMT) [thread overview]
Message-ID: <20220919155747.A5BFA3858CDA@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3eb19c4b7ae0b0b862a9cf92760922e4a524600a
Commit: 3eb19c4b7ae0b0b862a9cf92760922e4a524600a
Parent: 4b4d431631ec8df90d6d5793fbfc26c6999e154c
Author: Tony Asleson <tasleson@redhat.com>
AuthorDate: Mon Aug 8 16:08:23 2022 -0500
Committer: Tony Asleson <tasleson@redhat.com>
CommitterDate: Fri Sep 16 10:49:36 2022 -0500
lvmdbusd: Remove addl. checks on --nojson
We check earlier that if you specify --nojson we will exit.
---
daemons/lvmdbusd/main.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py
index 597441a9e..50b8e568f 100644
--- a/daemons/lvmdbusd/main.py
+++ b/daemons/lvmdbusd/main.py
@@ -132,20 +132,12 @@ def main():
# cmdhandler is for when we are running other code with a different main.
cfg.blackbox = LvmFlightRecorder(cfg.args.bb_size)
- if cfg.args.use_lvm_shell and not cfg.args.use_json:
- log_error("You cannot specify --lvmshell and --nojson")
- sys.exit(1)
-
log_debug("Using lvm binary: %s" % cfg.LVM_CMD)
# We will dynamically add interfaces which support vdo if it
# exists.
cfg.vdo_support = supports_vdo()
- if cfg.vdo_support and not cfg.args.use_json:
- log_error("You cannot specify --nojson when lvm has VDO support")
- sys.exit(1)
-
# List of threads that we start up
thread_list = []
reply other threads:[~2022-09-19 15:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220919155747.A5BFA3858CDA@sourceware.org \
--to=tasleson@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.