Skip to content

Commit 8fc2634

Browse files
committed
images: fix S1009
1 parent 92330ad commit 8fc2634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ type ExportImagesOptions struct {
401401
//
402402
// See https://goo.gl/N9XlDn for more details.
403403
func (c *Client) ExportImages(opts ExportImagesOptions) error {
404-
if opts.Names == nil || len(opts.Names) == 0 {
404+
if len(opts.Names) == 0 {
405405
return ErrMustSpecifyNames
406406
}
407407
// API < 1.25 allows multiple name values

0 commit comments

Comments
 (0)