@@ -33,7 +33,7 @@ import (
3333 "github.com/cortexlabs/cortex/pkg/types/userconfig"
3434)
3535
36- func Deploy (env cliconfig.Environment , configPath string , projectFileList []string , deployDisallowPrompt bool ) ([]schema.DeployResult , error ) {
36+ func Deploy (env cliconfig.Environment , configPath string , projectFileList []string , disallowPrompt bool ) ([]schema.DeployResult , error ) {
3737 configFileName := filepath .Base (configPath )
3838
3939 _ , err := docker .GetDockerClient ()
@@ -61,10 +61,10 @@ func Deploy(env cliconfig.Environment, configPath string, projectFileList []stri
6161 return nil , err
6262 }
6363
64- return deploy (env , apiConfigs , projectFiles , deployDisallowPrompt )
64+ return deploy (env , apiConfigs , projectFiles , disallowPrompt )
6565}
6666
67- func deploy (env cliconfig.Environment , apiConfigs []userconfig.API , projectFiles ProjectFiles , deployDisallowPrompt bool ) ([]schema.DeployResult , error ) {
67+ func deploy (env cliconfig.Environment , apiConfigs []userconfig.API , projectFiles ProjectFiles , disallowPrompt bool ) ([]schema.DeployResult , error ) {
6868 var err error
6969 var awsClient * aws.Client
7070 var gcpClient * gcp.Client
@@ -104,7 +104,7 @@ func deploy(env cliconfig.Environment, apiConfigs []userconfig.API, projectFiles
104104 results := make ([]schema.DeployResult , len (apiConfigs ))
105105 for i := range apiConfigs {
106106 apiConfig := apiConfigs [i ]
107- api , msg , err := UpdateAPI (& apiConfig , models , projectFiles .projectRoot , projectID , deployDisallowPrompt , awsClient )
107+ api , msg , err := UpdateAPI (& apiConfig , models , projectFiles .projectRoot , projectID , disallowPrompt , awsClient )
108108 results [i ].Message = msg
109109 if err != nil {
110110 results [i ].Error = errors .Message (err )
0 commit comments