]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd: use https links in live import examples 61598/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 30 Jan 2025 19:30:18 +0000 (20:30 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 30 Jan 2025 19:40:39 +0000 (20:40 +0100)
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 <idryomov@gmail.com>
doc/rbd/rbd-live-migration.rst

index c2e0915b21bb09e53df03ab4d43b8e95b378b09c..a117bed362314b0422116584b7eb0d72c0487248 100644 (file)
@@ -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"
             }