From 90859cf1938e49b96cbafac15d075b759a0a793e Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Thu, 12 Dec 2024 10:01:32 -0500 Subject: [PATCH] Enable fly launch to set AutoExtendSize Threshold, Increment, and Limit --- internal/command/launch/launch_frameworks.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/internal/command/launch/launch_frameworks.go b/internal/command/launch/launch_frameworks.go index 206abbb9ba..ec4a08f8e2 100644 --- a/internal/command/launch/launch_frameworks.go +++ b/internal/command/launch/launch_frameworks.go @@ -299,8 +299,11 @@ func (state *launchState) scannerSetAppconfig(ctx context.Context) error { var appVolumes []appconfig.Mount for _, v := range srcInfo.Volumes { appVolumes = append(appVolumes, appconfig.Mount{ - Source: v.Source, - Destination: v.Destination, + Source: v.Source, + Destination: v.Destination, + AutoExtendSizeThreshold: v.AutoExtendSizeThreshold, + AutoExtendSizeIncrement: v.AutoExtendSizeIncrement, + AutoExtendSizeLimit: v.AutoExtendSizeLimit, }) } appConfig.SetMounts(appVolumes)