Skip to content

Commit

Permalink
images: fix S1009
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jul 17, 2024
1 parent 92330ad commit 8fc2634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ type ExportImagesOptions struct {
//
// See https://goo.gl/N9XlDn for more details.
func (c *Client) ExportImages(opts ExportImagesOptions) error {
if opts.Names == nil || len(opts.Names) == 0 {
if len(opts.Names) == 0 {
return ErrMustSpecifyNames
}
// API < 1.25 allows multiple name values
Expand Down

0 comments on commit 8fc2634

Please sign in to comment.