Skip to content

Commit 45b4bd9

Browse files
committed
Fix indentation on examples in the Deployment spec
Signed-off-by: Michael Irwin <[email protected]>
1 parent f9a5c72 commit 45b4bd9

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

deploy.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,16 @@ by a list or a map with string values.
7777

7878
```yml
7979
deploy:
80-
placement:
80+
placement:
8181
constraints:
82-
- disktype=ssd
82+
- disktype=ssd
8383
```
8484

8585
```yml
8686
deploy:
87-
placement:
87+
placement:
8888
constraints:
89-
disktype: ssd
89+
disktype: ssd
9090
```
9191

9292
#### preferences
@@ -96,16 +96,16 @@ by a list or a map with string values.
9696

9797
```yml
9898
deploy:
99-
placement:
99+
placement:
100100
preferences:
101-
- datacenter=us-east
101+
- datacenter=us-east
102102
```
103103

104104
```yml
105105
deploy:
106-
placement:
106+
placement:
107107
preferences:
108-
datacenter: us-east
108+
datacenter: us-east
109109
```
110110

111111
### replicas
@@ -249,11 +249,11 @@ deploy:
249249

250250
```yml
251251
deploy:
252-
restart_policy:
253-
condition: on-failure
254-
delay: 5s
255-
max_attempts: 3
256-
window: 120s
252+
restart_policy:
253+
condition: on-failure
254+
delay: 5s
255+
max_attempts: 3
256+
window: 120s
257257
```
258258

259259
### rollback_config
@@ -282,8 +282,8 @@ deploy:
282282

283283
```yml
284284
deploy:
285-
update_config:
286-
parallelism: 2
287-
delay: 10s
288-
order: stop-first
285+
update_config:
286+
parallelism: 2
287+
delay: 10s
288+
order: stop-first
289289
```

0 commit comments

Comments
 (0)