This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository 389-ds-base.
The following commit(s) were added to refs/heads/master by this push:
new 5fb0471 Issue 50919 - Backend delete fails using dsconf
5fb0471 is described below
commit 5fb047137d4079e81baf795d9fdc26f572ec5bf1
Author: Mark Reynolds <mreynolds@redhat.com>
AuthorDate: Fri Feb 28 08:06:17 2020 -0500
Issue 50919 - Backend delete fails using dsconf
Description: Fix typo in parser argument name
relates: https://pagure.io/389-ds-base/issue/50919
Reviewed by: mreynolds(one line commit rule)
---
src/lib389/lib389/cli_conf/backend.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib389/lib389/cli_conf/backend.py b/src/lib389/lib389/cli_conf/backend.py
index aaa6613..10208bd 100644
--- a/src/lib389/lib389/cli_conf/backend.py
+++ b/src/lib389/lib389/cli_conf/backend.py
@@ -286,7 +286,7 @@ def is_db_link(inst, rdn):
if cn == rdn.lower():
return True
return False
-
+
def is_db_replicated(inst, suffix):
replicas = Replicas(inst)
@@ -381,7 +381,7 @@ def backend_build_tree(inst, be_insts, nodes):
if be_suffix == node_suffix.lower():
# We have our parent, now find the children
mts = be._mts.list()
-
+
for mt in mts:
sub_parent = mt.get_attr_val_utf8_l('nsslapd-parent-suffix')
sub_be = mt.get_attr_val_utf8_l('nsslapd-backend')
@@ -1111,7 +1111,7 @@ def create_parser(subparsers):
#######################################################
delete_parser = subcommands.add_parser('delete', help='Delete a backend database')
delete_parser.set_defaults(func=backend_delete)
- delete_parser.add_argument('be-name', help='The backend name or suffix to delete')
+ delete_parser.add_argument('be_name', help='The backend name or suffix to delete')
#######################################################
# Get Suffix Tree (for use in web console)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org
No comments:
Post a Comment