Skip to content

Commit 11b85b3

Browse files
authored
Merge pull request #140 from netlify/lm-cap
Change large_media to large_media_enabled
2 parents 8dd4ce6 + 0d43d82 commit 11b85b3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
We use [go-swagger](https://github.com/go-swagger/go-swagger) to validate our spec against the 2.0 spec of Open API.
44

5-
We currently depend on version 0.16.0 of the go swagger toolchain. You can download the binary for your platform from this release page:
5+
We currently depend on version 0.18.0 of the go swagger toolchain. You can download the binary for your platform from this release page:
66

7-
https://github.com/go-swagger/go-swagger/releases/tag/0.16.0
7+
https://github.com/go-swagger/go-swagger/releases/tag/0.18.0
88

99
## Spec validation
1010

go/models/deploy_site_capabilities.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/porcelain/deploy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ func (n *Netlify) DoDeploy(ctx context.Context, options *DeployOptions, deploy *
173173
}
174174
}
175175

176-
context.GetLogger(ctx).Infof("Getting files info with large media flag: %v", deploy.SiteCapabilities.LargeMedia)
177-
files, err := walk(options.Dir, options.Observer, deploy.SiteCapabilities.LargeMedia)
176+
context.GetLogger(ctx).Infof("Getting files info with large media flag: %v", deploy.SiteCapabilities.LargeMediaEnabled)
177+
files, err := walk(options.Dir, options.Observer, deploy.SiteCapabilities.LargeMediaEnabled)
178178
if err != nil {
179179
if options.Observer != nil {
180180
options.Observer.OnFailedWalk()

swagger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,7 @@ definitions:
17801780
site_capabilities:
17811781
type: object
17821782
properties:
1783-
large_media:
1783+
large_media_enabled:
17841784
type: boolean
17851785
deployFiles:
17861786
type: object

0 commit comments

Comments
 (0)