mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +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
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue