summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-02-27 13:48:47 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2015-02-27 13:48:47 +0100
commit5b154ae4a3d875009aa7a7d081c8e76cdb6dd50f (patch)
tree1cb0cca38b8c05753024aeac6322e77736c72018
parent9ea77b788b0822fe06e8efb92d13f80dbc62e351 (diff)
downloadlvm2-5b154ae4a3d875009aa7a7d081c8e76cdb6dd50f.tar.gz
report: one more comment explaining change of report type when tags are used for original LABEL reporting
-rw-r--r--tools/reporter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/reporter.c b/tools/reporter.c
index df5a58b83..0e563ac64 100644
--- a/tools/reporter.c
+++ b/tools/reporter.c
@@ -585,6 +585,10 @@ static void _check_pv_list(struct cmd_context *cmd, int argc, char **argv,
rescan_done = 1;
}
if (*argv[i] == '@') {
+ /*
+ * Tags are metadata related, not label
+ * related, change report type accordingly!
+ */
if (*report_type == LABEL)
*report_type = PVS;
/*