Skip to content

Commit

Permalink
formatting, page order corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
alexindeed committed Feb 8, 2018
1 parent c1bd397 commit 4cfa8af
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions docs/providers/spotinst/guide/active-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The 'Latest' version refers to the most recent version created by the last updat
*Please note: the 'Latest' tag will point to a different version number each and every time you update your function.*

Default configuration for activeVersions when a new function is created:
```
```yaml
activeVersions:
- version: $LATEST
percentage: 100.0
Expand All @@ -32,15 +32,15 @@ The 'Active' version can point to more than one version of your function, includ
For example, say you wanted to test a new version of your function to determine if it was production-ready. You could specify that 10% of the traffic be routed to that new version, and route the remaining 90% to the stable version. You can gradually route more traffic to the new version as you become more confident in its performance.
### Examples
```
```yaml
activeVersions:
- version: $LATEST
percentage: 100.0
```
100% of traffic will go to the most recently published update.
```
```yaml
activeVersions:
- version: $LATEST
percentage: 80.0
Expand All @@ -49,7 +49,7 @@ activeVersions:
```
80% of traffic goes to the most recently published update, and 20% goes to version 2.
```
```yaml
activeVersions:
- version: 5
percentage: 50.0
Expand All @@ -68,7 +68,7 @@ You can configure active versions in the serverless.yml file, but you can also u
3. Select 'Configure Active Version'
- API: (update function)
```
```yaml
activeVersions:
- version: $LATEST
percentage: 70.0
Expand Down
8 changes: 4 additions & 4 deletions docs/providers/spotinst/guide/cors.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
title: Serverless Framework - Spotinst Functions Guide - Credentials
menuText: Credentials
menuOrder: 4
description: How to set up the Serverless Framework with your Spotinst Functions credentials
title: Serverless Framework - Spotinst Functions Guide - CORS
menuText: CORS
menuOrder: 11
description: How to enable and use CORS
layout: Doc
-->

Expand Down
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/document-store-sdk.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
title: Serverless Framework - Spotinst Functions Guide - Document Store SDK
menuText: Document Store SDK
menuOrder: 7
menuOrder: 8
description: How to use the Document Store SDK feature
layout: Doc
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/endpoint-api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
title: Serverless Framework - Spotinst Functions Guide - Endpoint API Documentation
menuText: Endpoint API Documentation
menuOrder: 7
menuOrder: 10
description: How to use the Endpoint API
layout: Doc
-->
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/spotinst/guide/endpoint-setup.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
title: Serverless Framework - Spotinst Functions Guide - Endpoint Setup
menuText: Endpoint Set Up
menuOrder: 7
menuOrder: 9
description: How to set up an Endpoint
layout: Doc
-->
Expand Down

0 comments on commit 4cfa8af

Please sign in to comment.