@@ -205,7 +205,7 @@ func init() {
205205 flags .StringVarP (& removeContainerDataOpts .Key , "key" , "k" , "" , "Name of the data item" )
206206}
207207
208- func createLayerData (cmd * cobra.Command , args []string ) error {
208+ func createLayerData (_ * cobra.Command , _ []string ) error {
209209 if createLayerDataOpts .ID == "" {
210210 return errors .New ("layer ID not specified" )
211211 }
@@ -233,7 +233,7 @@ func createLayerData(cmd *cobra.Command, args []string) error {
233233 return nil
234234}
235235
236- func createImageData (cmd * cobra.Command , args []string ) error {
236+ func createImageData (_ * cobra.Command , _ []string ) error {
237237 if createImageDataOpts .ID == "" {
238238 return errors .New ("image ID not specified" )
239239 }
@@ -261,7 +261,7 @@ func createImageData(cmd *cobra.Command, args []string) error {
261261 return nil
262262}
263263
264- func createContainerData (cmd * cobra.Command , args []string ) error {
264+ func createContainerData (_ * cobra.Command , _ []string ) error {
265265 if createContainerDataOpts .ID == "" {
266266 return errors .New ("container ID not specified" )
267267 }
@@ -289,7 +289,7 @@ func createContainerData(cmd *cobra.Command, args []string) error {
289289 return nil
290290}
291291
292- func modifyLayerData (cmd * cobra.Command , args []string ) error {
292+ func modifyLayerData (_ * cobra.Command , _ []string ) error {
293293 if modifyLayerDataOpts .ID == "" {
294294 return errors .New ("layer ID not specified" )
295295 }
@@ -314,7 +314,7 @@ func modifyLayerData(cmd *cobra.Command, args []string) error {
314314 return nil
315315}
316316
317- func modifyImageData (cmd * cobra.Command , args []string ) error {
317+ func modifyImageData (_ * cobra.Command , _ []string ) error {
318318 if modifyImageDataOpts .ID == "" {
319319 return errors .New ("image ID not specified" )
320320 }
@@ -339,7 +339,7 @@ func modifyImageData(cmd *cobra.Command, args []string) error {
339339 return nil
340340}
341341
342- func modifyContainerData (cmd * cobra.Command , args []string ) error {
342+ func modifyContainerData (_ * cobra.Command , _ []string ) error {
343343 if modifyContainerDataOpts .ID == "" {
344344 return errors .New ("container ID not specified" )
345345 }
@@ -364,7 +364,7 @@ func modifyContainerData(cmd *cobra.Command, args []string) error {
364364 return nil
365365}
366366
367- func removeLayerData (cmd * cobra.Command , args []string ) error {
367+ func removeLayerData (_ * cobra.Command , _ []string ) error {
368368 if removeLayerDataOpts .ID == "" {
369369 return errors .New ("layer ID not specified" )
370370 }
@@ -378,7 +378,7 @@ func removeLayerData(cmd *cobra.Command, args []string) error {
378378 return nil
379379}
380380
381- func removeImageData (cmd * cobra.Command , args []string ) error {
381+ func removeImageData (_ * cobra.Command , _ []string ) error {
382382 if removeImageDataOpts .ID == "" {
383383 return errors .New ("image ID not specified" )
384384 }
@@ -392,7 +392,7 @@ func removeImageData(cmd *cobra.Command, args []string) error {
392392 return nil
393393}
394394
395- func removeContainerData (cmd * cobra.Command , args []string ) error {
395+ func removeContainerData (_ * cobra.Command , _ []string ) error {
396396 if removeContainerDataOpts .ID == "" {
397397 return errors .New ("container ID not specified" )
398398 }
0 commit comments