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:
parent
65291c68e9
commit
14d2bf4ebb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue