From 9de2d9cf46a75b8a87ff6d751e0f7c42b4728f03 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 4 Dec 2023 07:52:22 +0700 Subject: [PATCH] Simplify SubsystemDBReplicationCLI name --- base/server/python/pki/server/subsystem.py | 2 +- .../org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/server/python/pki/server/subsystem.py b/base/server/python/pki/server/subsystem.py index 0592f0b6f76..30ecbf59d95 100644 --- a/base/server/python/pki/server/subsystem.py +++ b/base/server/python/pki/server/subsystem.py @@ -1251,7 +1251,7 @@ def setup_replication( master_config_file = os.path.join(tmpdir, 'master.conf') pki.util.store_properties(master_config_file, master_config) - cmd = [self.name + '-db-replication-setup'] + cmd = [self.name + '-db-repl-setup'] if master_replication_port: cmd.extend(['--master-replication-port', master_replication_port]) diff --git a/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java b/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java index 1fb2e784809..064b9df2eb8 100644 --- a/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java +++ b/base/server/src/main/java/org/dogtagpki/server/cli/SubsystemDBReplicationCLI.java @@ -13,7 +13,7 @@ public class SubsystemDBReplicationCLI extends CLI { public SubsystemDBReplicationCLI(CLI parent) { - super("replication", parent.parent.name.toUpperCase() + " database replication management commands", parent); + super("repl", parent.parent.name.toUpperCase() + " database replication management commands", parent); addModule(new SubsystemDBReplicationSetupCLI(this)); }