From 92330ad29f368b4968459ec82b0488f481251be5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 03:54:30 +0000 Subject: [PATCH 1/2] build(deps): bump actions/setup-go from 5.0.1 to 5.0.2 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.1 to 5.0.2. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v5.0.1...v5.0.2) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 044b94de..2483790f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v4.1.7 - - uses: actions/setup-go@v5.0.1 + - uses: actions/setup-go@v5.0.2 with: go-version: "1.x" @@ -58,7 +58,7 @@ jobs: steps: - uses: actions/checkout@v4.1.7 - - uses: actions/setup-go@v5.0.1 + - uses: actions/setup-go@v5.0.2 id: go with: go-version: ${{ matrix.go-version }} @@ -85,7 +85,7 @@ jobs: steps: - uses: actions/checkout@v4.1.7 - - uses: actions/setup-go@v5.0.1 + - uses: actions/setup-go@v5.0.2 id: go with: go-version: "1.x" From 8fc2634073bc53c08a152fa8a03a71adb623ae9d Mon Sep 17 00:00:00 2001 From: francisco souza <108725+fsouza@users.noreply.github.com> Date: Tue, 16 Jul 2024 22:11:53 -0300 Subject: [PATCH 2/2] images: fix S1009 --- image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.go b/image.go index 0b560457..614908c6 100644 --- a/image.go +++ b/image.go @@ -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