Skip to content

Commit

Permalink
Merge pull request compose-spec#150 from mikesir87/fix-indentation-de…
Browse files Browse the repository at this point in the history
…ploy

Fix indentation on examples in the Deployment spec
  • Loading branch information
ndeloof committed Mar 30, 2021
2 parents db041f7 + 73e46c4 commit 167f207
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions deploy.md
Expand Up @@ -77,16 +77,16 @@ by a list or a map with string values.

```yml
deploy:
placement:
placement:
constraints:
- disktype=ssd
- disktype=ssd
```

```yml
deploy:
placement:
placement:
constraints:
disktype: ssd
disktype: ssd
```

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

```yml
deploy:
placement:
placement:
preferences:
- datacenter=us-east
- datacenter=us-east
```

```yml
deploy:
placement:
placement:
preferences:
datacenter: us-east
datacenter: us-east
```

### replicas
Expand Down Expand Up @@ -249,11 +249,11 @@ deploy:

```yml
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
```

### rollback_config
Expand Down Expand Up @@ -282,8 +282,8 @@ deploy:

```yml
deploy:
update_config:
parallelism: 2
delay: 10s
order: stop-first
update_config:
parallelism: 2
delay: 10s
order: stop-first
```

0 comments on commit 167f207

Please sign in to comment.