@@ -205,7 +205,7 @@ func init() {
205
205
flags .StringVarP (& removeContainerDataOpts .Key , "key" , "k" , "" , "Name of the data item" )
206
206
}
207
207
208
- func createLayerData (cmd * cobra.Command , args []string ) error {
208
+ func createLayerData (_ * cobra.Command , _ []string ) error {
209
209
if createLayerDataOpts .ID == "" {
210
210
return errors .New ("layer ID not specified" )
211
211
}
@@ -233,7 +233,7 @@ func createLayerData(cmd *cobra.Command, args []string) error {
233
233
return nil
234
234
}
235
235
236
- func createImageData (cmd * cobra.Command , args []string ) error {
236
+ func createImageData (_ * cobra.Command , _ []string ) error {
237
237
if createImageDataOpts .ID == "" {
238
238
return errors .New ("image ID not specified" )
239
239
}
@@ -261,7 +261,7 @@ func createImageData(cmd *cobra.Command, args []string) error {
261
261
return nil
262
262
}
263
263
264
- func createContainerData (cmd * cobra.Command , args []string ) error {
264
+ func createContainerData (_ * cobra.Command , _ []string ) error {
265
265
if createContainerDataOpts .ID == "" {
266
266
return errors .New ("container ID not specified" )
267
267
}
@@ -289,7 +289,7 @@ func createContainerData(cmd *cobra.Command, args []string) error {
289
289
return nil
290
290
}
291
291
292
- func modifyLayerData (cmd * cobra.Command , args []string ) error {
292
+ func modifyLayerData (_ * cobra.Command , _ []string ) error {
293
293
if modifyLayerDataOpts .ID == "" {
294
294
return errors .New ("layer ID not specified" )
295
295
}
@@ -314,7 +314,7 @@ func modifyLayerData(cmd *cobra.Command, args []string) error {
314
314
return nil
315
315
}
316
316
317
- func modifyImageData (cmd * cobra.Command , args []string ) error {
317
+ func modifyImageData (_ * cobra.Command , _ []string ) error {
318
318
if modifyImageDataOpts .ID == "" {
319
319
return errors .New ("image ID not specified" )
320
320
}
@@ -339,7 +339,7 @@ func modifyImageData(cmd *cobra.Command, args []string) error {
339
339
return nil
340
340
}
341
341
342
- func modifyContainerData (cmd * cobra.Command , args []string ) error {
342
+ func modifyContainerData (_ * cobra.Command , _ []string ) error {
343
343
if modifyContainerDataOpts .ID == "" {
344
344
return errors .New ("container ID not specified" )
345
345
}
@@ -364,7 +364,7 @@ func modifyContainerData(cmd *cobra.Command, args []string) error {
364
364
return nil
365
365
}
366
366
367
- func removeLayerData (cmd * cobra.Command , args []string ) error {
367
+ func removeLayerData (_ * cobra.Command , _ []string ) error {
368
368
if removeLayerDataOpts .ID == "" {
369
369
return errors .New ("layer ID not specified" )
370
370
}
@@ -378,7 +378,7 @@ func removeLayerData(cmd *cobra.Command, args []string) error {
378
378
return nil
379
379
}
380
380
381
- func removeImageData (cmd * cobra.Command , args []string ) error {
381
+ func removeImageData (_ * cobra.Command , _ []string ) error {
382
382
if removeImageDataOpts .ID == "" {
383
383
return errors .New ("image ID not specified" )
384
384
}
@@ -392,7 +392,7 @@ func removeImageData(cmd *cobra.Command, args []string) error {
392
392
return nil
393
393
}
394
394
395
- func removeContainerData (cmd * cobra.Command , args []string ) error {
395
+ func removeContainerData (_ * cobra.Command , _ []string ) error {
396
396
if removeContainerDataOpts .ID == "" {
397
397
return errors .New ("container ID not specified" )
398
398
}
0 commit comments