From: Ilya Dryomov Date: Thu, 30 Jan 2025 19:30:18 +0000 (+0100) Subject: doc/rbd: use https links in live import examples X-Git-Tag: v20.0.0~284^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F61598%2Fhead;p=ceph.git 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 --- diff --git a/doc/rbd/rbd-live-migration.rst b/doc/rbd/rbd-live-migration.rst index c2e0915b21bb0..a117bed362314 100644 --- a/doc/rbd/rbd-live-migration.rst +++ b/doc/rbd/rbd-live-migration.rst @@ -239,7 +239,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", @@ -261,14 +261,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" } } @@ -286,14 +286,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" }