@@ -160,7 +160,7 @@ var _upCmd = &cobra.Command{
160160 }
161161 }
162162
163- out , exitCode , err := runManagerUpdateCommand ("/root/install.sh" , clusterConfig , awsCreds , _flagClusterEnv )
163+ out , exitCode , err := runManagerWithClusterConfig ("/root/install.sh" , clusterConfig , awsCreds , _flagClusterEnv )
164164 if err != nil {
165165 if clusterConfig .APIGatewaySetting == clusterconfig .EnabledAPIGatewaySetting {
166166 awsClient .DeleteAPIGatewayByTag (clusterconfig .ClusterNameTag , clusterConfig .ClusterName ) // best effort deletion
@@ -234,7 +234,7 @@ var _configureCmd = &cobra.Command{
234234 exit .Error (err )
235235 }
236236
237- out , exitCode , err := runManagerUpdateCommand ("/root/install.sh --update" , clusterConfig , awsCreds , _flagClusterEnv )
237+ out , exitCode , err := runManagerWithClusterConfig ("/root/install.sh --update" , clusterConfig , awsCreds , _flagClusterEnv )
238238 if err != nil {
239239 exit .Error (err )
240240 }
@@ -438,7 +438,7 @@ func cmdInfo(awsCreds AWSCredentials, accessConfig *clusterconfig.AccessConfig,
438438
439439 clusterConfig := refreshCachedClusterConfig (awsCreds , accessConfig , disallowPrompt )
440440
441- out , exitCode , err := runManagerAccessCommand ("/root/info.sh" , * accessConfig , awsCreds , _flagClusterEnv )
441+ out , exitCode , err := runManagerWithClusterConfig ("/root/info.sh" , & clusterConfig , awsCreds , _flagClusterEnv )
442442 if err != nil {
443443 exit .Error (err )
444444 }
0 commit comments