Skip to content

Commit

Permalink
Clarify CDC create log message. Update the short/long form of partiti…
Browse files Browse the repository at this point in the history
…on command
  • Loading branch information
msmygit committed Oct 17, 2023
1 parent 4431a6e commit 898a216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/dist/astra-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,7 @@ function _complete_astra_group_db_command_createcdc() {
echo ${COMPREPLY[@]}
return 0
;;
-p| --partition)
-p, --partition)
COMPREPLY=( $(compgen -W "${ARG_VALUES} ${ARG_GENERATED_VALUES}" -- ${CURR_WORD}) )
echo ${COMPREPLY[@]}
return 0
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/dtsx/astra/cli/db/cdc/ServiceCdc.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void createCdc(String databaseName, String keyspace, String table, String
.database(dbDao.getDatabase(databaseName).getId())
.cdc()
.create(keyspace,table, tenant, topicPartition );
LoggerShell.info("Creating from db '%s' is creating.".formatted(databaseName));
LoggerShell.info("Cdc from db '%s' is creating.".formatted(databaseName));
}

}

0 comments on commit 898a216

Please sign in to comment.