Procházet zdrojové kódy

Merge pull request #27119 from vieux/fix_doc_delete_service

fix API doc service delete
Victor Vieux před 8 roky
rodič
revize
94cd7ed72d

+ 2 - 2
docs/reference/api/docker_remote_api_v1.24.md

@@ -4672,13 +4672,13 @@ Stop and remove the service `id`
 
 **Example response**:
 
-    HTTP/1.1 200 OK
+    HTTP/1.1 204 No Content
     Content-Length: 0
     Content-Type: text/plain; charset=utf-8
 
 **Status codes**:
 
--   **200** – no error
+-   **204** – no error
 -   **404** – no such service
 -   **500** – server error
 

+ 2 - 2
docs/reference/api/docker_remote_api_v1.25.md

@@ -5040,13 +5040,13 @@ Stop and remove the service `id`
 
 **Example response**:
 
-    HTTP/1.1 200 OK
+    HTTP/1.1 204 No Content
     Content-Length: 0
     Content-Type: text/plain; charset=utf-8
 
 **Status codes**:
 
--   **200** – no error
+-   **204** – no error
 -   **404** – no such service
 -   **500** – server error