refactor(api): fix typo (#2391)

* refactor(api): fix typo

* refactor(api): remove newline
pull/2392/head
Anthony Lapenna 6 years ago committed by GitHub
parent 65291c68e9
commit 14d2bf4ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -636,7 +636,7 @@ type (
Down(stack *Stack, endpoint *Endpoint) error
}
// JobService represtents a service that manages job execution on hosts
// JobService represents a service to manage job execution on hosts
JobService interface {
Execute(endpoint *Endpoint, image string, script []byte) error
}

Loading…
Cancel
Save