mirror of https://github.com/portainer/portainer
refactor(api): fix typo (#2391)
* refactor(api): fix typo * refactor(api): remove newlinepull/2392/head
parent
65291c68e9
commit
14d2bf4ebb
|
@ -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…
Reference in New Issue