We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92330ad commit 8fc2634Copy full SHA for 8fc2634
image.go
@@ -401,7 +401,7 @@ type ExportImagesOptions struct {
401
//
402
// See https://goo.gl/N9XlDn for more details.
403
func (c *Client) ExportImages(opts ExportImagesOptions) error {
404
- if opts.Names == nil || len(opts.Names) == 0 {
+ if len(opts.Names) == 0 {
405
return ErrMustSpecifyNames
406
}
407
// API < 1.25 allows multiple name values
0 commit comments