From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Mon, 28 Apr 2025 10:23:44 +0000 (+0700) Subject: doc/radosgw: Promptify CLI commands in compression.rst X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=718fe447865ac2614666762d615485b982da4cfd;p=ceph.git doc/radosgw: Promptify CLI commands in compression.rst Use the bash prompt block for example CLI command. Separate command output from the CLI command. Use the correct privileged bash prompt on an already promptified example command, instead of an unprivileged bash prompt. Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com> --- diff --git a/doc/radosgw/compression.rst b/doc/radosgw/compression.rst index 429dde91c73dd..288cfef92d995 100644 --- a/doc/radosgw/compression.rst +++ b/doc/radosgw/compression.rst @@ -34,13 +34,17 @@ Compression settings apply to all new objects uploaded to buckets using this placement target. Compression can be disabled by setting the ``type`` to an empty string or ``none``. -For example:: +For example: + +.. prompt:: bash # + + radosgw-admin zone placement modify --rgw-zone default \ + --placement-id default-placement \ + --storage-class STANDARD \ + --compression zlib + +:: - $ radosgw-admin zone placement modify \ - --rgw-zone default \ - --placement-id default-placement \ - --storage-class STANDARD \ - --compression zlib { ... "placement_pools": [ @@ -72,7 +76,7 @@ Statistics Run the ``radosgw-admin bucket stats`` command to see compression statistics for a given bucket: -.. prompt:: bash +.. prompt:: bash # radosgw-admin bucket stats --bucket=