From 47455c63fb5e8a95da49613e9492512cee0459fc Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Thu, 30 Jan 2025 20:30:18 +0100 Subject: [PATCH] doc/rbd: use https links in live import examples Even though it's explicitly said that "http" stream can be used to import via both HTTP and HTTPS, it can still be confusing that "type": "http" is expected to go with "url": "https://...". Switch example URLs from HTTP to HTTPS to make it more obvious. Signed-off-by: Ilya Dryomov (cherry picked from commit 8666c5694eb61deb2b46b6b76274e58f637c068a) --- doc/rbd/rbd-live-migration.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/rbd/rbd-live-migration.rst b/doc/rbd/rbd-live-migration.rst index c3e09193d3114..6e0e635b2d12f 100644 --- a/doc/rbd/rbd-live-migration.rst +++ b/doc/rbd/rbd-live-migration.rst @@ -234,7 +234,7 @@ source. Its ``source-spec`` JSON is encoded as follows:: } For example, to import a raw-format image from a file located at -"/mnt/image.raw", its ``source-spec`` JSON is encoded as follows:: +`/mnt/image.raw`, its ``source-spec`` JSON is encoded as follows:: { "type": "raw", @@ -256,14 +256,14 @@ server. Its ``source-spec`` JSON is encoded as follows:: } For example, to import a raw-format image from a file located at -``http://download.ceph.com/image.raw``, its ``source-spec`` JSON is encoded +`https://download.ceph.com/image.raw`, its ``source-spec`` JSON is encoded as follows:: { "type": "raw", "stream": { "type": "http", - "url": "http://download.ceph.com/image.raw" + "url": "https://download.ceph.com/image.raw" } } @@ -281,14 +281,14 @@ The ``s3`` stream can be used to import from a remote S3 bucket. Its } For example, to import a raw-format image from a file located at -`http://s3.ceph.com/bucket/image.raw`, its ``source-spec`` JSON is encoded +`https://s3.ceph.com/bucket/image.raw`, its ``source-spec`` JSON is encoded as follows:: { "type": "raw", "stream": { "type": "s3", - "url": "http://s3.ceph.com/bucket/image.raw", + "url": "https://s3.ceph.com/bucket/image.raw", "access_key": "NX5QOQKC6BH2IDN8HC7A", "secret_key": "LnEsqNNqZIpkzauboDcLXLcYaWwLQ3Kop0zAnKIn" } -- 2.39.5