1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

refactor(api): fix typo (#2391)

* refactor(api): fix typo

* refactor(api): remove newline
This commit is contained in:
Anthony Lapenna 2018-10-23 10:07:39 +13:00 committed by GitHub
parent 65291c68e9
commit 14d2bf4ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -92,8 +92,8 @@ func pullImage(cli *client.Client, image string) error {
if err != nil {
return err
}
defer imageReadCloser.Close()
_, err = io.Copy(ioutil.Discard, imageReadCloser)
if err != nil {
return err