Skip to content

Commit

Permalink
#hubble-469: fix govet warn
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Jul 5, 2024
1 parent 9374cf3 commit 4dd77b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exp/services/ledgerexporter/internal/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ func (s *LedgerExporterTestSuite) mustStartCore(t *testing.T, quickstartImage st
}

if pullImage {
imgReader, err := s.dockerCli.ImagePull(s.ctx, quickstartImage, image.PullOptions{})
if err != nil {
t.Fatalf("could not pull docker image, %v, %v", quickstartImage, err)
imgReader, imgErr := s.dockerCli.ImagePull(s.ctx, quickstartImage, image.PullOptions{})
if imgErr != nil {
t.Fatalf("could not pull docker image, %v, %v", quickstartImage, imgErr)
}
// ImagePull is asynchronous.
// The reader needs to be read completely for the pull operation to complete.
Expand Down

0 comments on commit 4dd77b9

Please sign in to comment.