Skip to content

Commit 5fca001

Browse files
committed
MB-67316 Rename setting-encryption --all-bucket-usage value
Change the --all-bucket-usage value from 'bucket-encryption-*' to 'bucket-encryption' to match the change made in ns_server (https://review.couchbase.org/c/ns_server/+/219214). Change-Id: I015ec65e507eeca6d1e4d2bffcd55457e95823bc Reviewed-on: https://review.couchbase.org/c/couchbase-cli/+/229757 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Safian Ali <safian.ali@couchbase.com>
1 parent 60ce926 commit 5fca001

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [[ ! -x .githooks/commit-msg ]]; then
1515
fi
1616

1717
# ensure the custom aspell dictionary is sorted correctly
18-
(head -n 1 jenkins/.aspell.en.pws && tail -n +2 jenkins/.aspell.en.pws | LC_COLLATE="C" sort -f) | sponge jenkins/.aspell.en.pws
18+
(head -n 1 jenkins/.aspell.en.pws && tail -n +2 jenkins/.aspell.en.pws | LC_COLLATE="C" sort -fs) | sponge jenkins/.aspell.en.pws
1919

2020
# we are safe to re-add the modified dictionary
2121
git add jenkins/.aspell.en.pws

cbmgr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""A Couchbase CLI subcommand"""
22

3+
import dataclasses
34
import getpass
45
import inspect
56
import ipaddress
@@ -15,7 +16,6 @@
1516
import tempfile
1617
import time
1718
import traceback
18-
import dataclasses
1919
import urllib.parse
2020
from argparse import SUPPRESS, Action, ArgumentError, ArgumentParser, HelpFormatter
2121
from operator import itemgetter
@@ -3690,7 +3690,7 @@ def _add_edit_parse_opts(self, opts):
36903690
if opts.kek_usage:
36913691
usages.append("KEK-encryption")
36923692
if opts.all_bucket_usage:
3693-
usages.append("bucket-encryption-*")
3693+
usages.append("bucket-encryption")
36943694
if opts.bucket_usage:
36953695
usages += [f"bucket-encryption-{b}" for b in opts.bucket_usage]
36963696

0 commit comments

Comments
 (0)