Skip to content

Commit 183777c

Browse files
committed
Update too many files deploy warning message (#926)
(cherry picked from commit a447d45)
1 parent 24fafdc commit 183777c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func deploy(configPath string, force bool) {
128128

129129
didPromptFileCount := false
130130
if !_flagDeployYes && len(projectPaths) >= _warningFileCount {
131-
msg := fmt.Sprintf("cortex will zip %d files in %s and upload them to the cluster, though we recommend you upload large files (e.g. models) to s3 and download them in your api's __init__ function. Would you like to continue?", len(projectPaths), rootDirMsg)
131+
msg := fmt.Sprintf("cortex will zip %d files in %s and upload them to the cluster; we recommend that you upload large files/directories (e.g. models) to s3 and download them in your api's __init__ function, and avoid sending unnecessary files by removing them from this directory or referencing them in a .cortexignore file. Would you like to continue?", len(projectPaths), rootDirMsg)
132132
prompt.YesOrExit(msg, canSkipPromptMsg, "")
133133
didPromptFileCount = true
134134
}

0 commit comments

Comments
 (0)