Skip to content

Commit c6a16bf

Browse files
authored
Merge pull request #50562 from booyaa/patch-2
Update formatting for CLI example
2 parents 7344be8 + 5b32521 commit c6a16bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/container-instances/container-instances-restart-policy.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ az container create \
5252
Azure Container Instances starts the container, and then stops it when its application (or script, in this case) exits. When Azure Container Instances stops a container whose restart policy is `Never` or `OnFailure`, the container's status is set to **Terminated**. You can check a container's status with the [az container show][az-container-show] command:
5353

5454
```azurecli-interactive
55-
az container show --resource-group myResourceGroup --name mycontainer --query containers[0].instanceView.currentState.state
55+
az container show \
56+
--resource-group myResourceGroup \
57+
--name mycontainer \
58+
--query containers[0].instanceView.currentState.state
5659
```
5760

5861
Example output:

0 commit comments

Comments
 (0)