Skip to content

Commit 8c36a67

Browse files
authored
feat: remove site_capabilities from the deploy object (#526)
1 parent 636eb2b commit 8c36a67

File tree

3 files changed

+0
-34
lines changed

3 files changed

+0
-34
lines changed

go/models/deploy.go

Lines changed: 0 additions & 25 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: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,6 @@ func (n *Netlify) DoDeploy(ctx context.Context, options *DeployOptions, deploy *
209209
}
210210

211211
largeMediaEnabled := options.LargeMediaEnabled
212-
if !largeMediaEnabled && deploy != nil {
213-
largeMediaEnabled = deploy.SiteCapabilities.LargeMediaEnabled
214-
}
215-
216212
ignoreInstallDirs := options.Dir == options.BuildDir
217213

218214
context.GetLogger(ctx).Infof("Getting files info with large media flag: %v", largeMediaEnabled)

swagger.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,11 +3056,6 @@ definitions:
30563056
type: boolean
30573057
review_url:
30583058
type: string
3059-
site_capabilities:
3060-
type: object
3061-
properties:
3062-
large_media_enabled:
3063-
type: boolean
30643059
framework:
30653060
type: string
30663061
function_schedules:

0 commit comments

Comments
 (0)