@@ -117,8 +117,8 @@ coder envs --user charlie@coder.com ls -o json \
117
117
if err = client .StopEnvironment (cmd .Context (), env .ID ); err != nil {
118
118
atomic .AddInt32 (& fails , 1 )
119
119
err = clog .Fatal (fmt .Sprintf ("stop environment %q" , env .Name ),
120
- clog .Cause (err .Error ()), clog .BlankLine ,
121
- clog .Hint ("current environment status is %q" , env .LatestStat .ContainerStatus ),
120
+ clog .Causef (err .Error ()), clog .BlankLine ,
121
+ clog .Hintf ("current environment status is %q" , env .LatestStat .ContainerStatus ),
122
122
)
123
123
clog .Log (err )
124
124
return err
@@ -186,7 +186,7 @@ coder envs create --cpu 4 --disk 100 --memory 8 --image 5f443b16-30652892427b955
186
186
clog .LogSuccess (
187
187
"creating environment..." ,
188
188
clog .BlankLine ,
189
- clog .Tip (`run "coder envs watch-build %q" to trail the build logs` , args [0 ]),
189
+ clog .Tipf (`run "coder envs watch-build %q" to trail the build logs` , args [0 ]),
190
190
)
191
191
192
192
if follow {
@@ -205,7 +205,7 @@ coder envs create --cpu 4 --disk 100 --memory 8 --image 5f443b16-30652892427b955
205
205
cmd .Flags ().IntP ("gpus" , "g" , defaultGPUs , "number GPUs an environment should be provisioned with." )
206
206
cmd .Flags ().StringVarP (& img , "image" , "i" , "" , "ID of the image to base the environment off of." )
207
207
cmd .Flags ().BoolVar (& follow , "follow" , false , "follow buildlog after initiating rebuild" )
208
- cmd .MarkFlagRequired ("image" )
208
+ _ = cmd .MarkFlagRequired ("image" )
209
209
return cmd
210
210
}
211
211
@@ -296,7 +296,7 @@ coder envs edit back-end-env --disk 20`,
296
296
clog .LogSuccess (
297
297
"applied changes to the environment, rebuilding..." ,
298
298
clog .BlankLine ,
299
- clog .Tip (`run "coder envs watch-build %q" to trail the build logs` , envName ),
299
+ clog .Tipf (`run "coder envs watch-build %q" to trail the build logs` , envName ),
300
300
)
301
301
return nil
302
302
},
0 commit comments