@@ -98,7 +98,7 @@ func outputResult(p *print.Printer, outputFormat string, application *sca.Applic
9898 table .AddRow ("STATE" , scautils .ApplicationStateToStr (application .GetStopped ()))
9999 table .AddSeparator ()
100100 if application .RuntimeStatus != nil {
101- table .AddRow ("AVAILABE INSTANCES" , len (application .GetRuntimeStatus ().Instances ))
101+ table .AddRow ("AVAILABLE INSTANCES" , len (application .GetRuntimeStatus ().Instances ))
102102 table .AddSeparator ()
103103 }
104104 table .AddRow ("PUBLIC INGRESS" , application .GetNetwork ().PublicIngress )
@@ -132,17 +132,17 @@ func outputResult(p *print.Printer, outputFormat string, application *sca.Applic
132132
133133 environmentVarTables := []tables.Table {}
134134 for _ , c := range application .Containers {
135- envVarTable := buildEnvVarsTable (c )
135+ envVarTable := buildEnvVarsTable (& c )
136136 if envVarTable != nil {
137137 environmentVarTables = append (environmentVarTables , * envVarTable )
138138 }
139139 commands := "-"
140140 if len (c .Command ) > 0 {
141141 commands = strings .Join (c .Command , " " )
142142 }
143- args := "-"
143+ cArgs := "-"
144144 if len (c .Command ) > 0 {
145- args = strings .Join (c .Args , " " )
145+ cArgs = strings .Join (c .Args , " " )
146146 }
147147
148148 cpu := "-"
@@ -161,7 +161,7 @@ func outputResult(p *print.Printer, outputFormat string, application *sca.Applic
161161 cpu ,
162162 memory ,
163163 commands ,
164- args ,
164+ cArgs ,
165165 )
166166 }
167167 tablesToDisplay = append (tablesToDisplay , containersTable )
@@ -233,7 +233,6 @@ func buildScalingRulesTable(rules []sca.ScaleRule) tables.Table {
233233 }
234234 for _ , p := range rule .GetCustomRule ().Parameters {
235235 params = append (params , fmt .Sprintf ("%s: %s" , p .Name , p .Value ))
236-
237236 }
238237 parameters = strings .Join (params , "\n " )
239238 sm := make ([]string , 0 , len (rule .GetCustomRule ().SecretsMapping ))
@@ -257,7 +256,7 @@ func buildScalingRulesTable(rules []sca.ScaleRule) tables.Table {
257256 return table
258257}
259258
260- func buildEnvVarsTable (container sca.Container ) * tables.Table {
259+ func buildEnvVarsTable (container * sca.Container ) * tables.Table {
261260 if len (container .EnvironmentVariables ) == 0 {
262261 return nil
263262 }
0 commit comments