Browse code

Docs: fix wrong example of API Exec

The last "," should not shown up, otherwise you will get the error
back as below:
- invalid character '}' looking for beginning of object key string.

Signed-off-by: Hu Keping <hukeping@huawei.com>

Hu Keping authored on 2015/06/25 02:52:47
Showing 1 changed files
... ...
@@ -1875,7 +1875,7 @@ Sets up an exec instance in a running container `id`
1875 1875
        "Tty": false,
1876 1876
        "Cmd": [
1877 1877
                      "date"
1878
-             ],
1878
+             ]
1879 1879
       }
1880 1880
 
1881 1881
 **Example response**:
... ...
@@ -1917,7 +1917,7 @@ interactive session with the `exec` command.
1917 1917
 
1918 1918
     {
1919 1919
      "Detach": false,
1920
-     "Tty": false,
1920
+     "Tty": false
1921 1921
     }
1922 1922
 
1923 1923
 **Example response**: