Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lex-unix committed Sep 17, 2024
1 parent 6662305 commit 991c245
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/runner/docker.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package runner

import (
"errors"
"fmt"
"strings"

"neite.dev/go-ship/internal/commands"
"neite.dev/go-ship/internal/ssh"
)

func (r *runner) PrepareImgForRemote() error {
Expand Down Expand Up @@ -73,11 +71,6 @@ func (r *runner) RemoveRunningContainer() error {
func (r *runner) InstallDocker() error {
err := r.runOverSSH(commands.IsDockerInstalled())
if err != nil {
if errors.Is(err, ssh.ErrExit) {
// TODO: install docker via script
fmt.Println(err)
return nil
}
return fmt.Errorf("unable to check if Docker is installed on the server: %w", err)
}
return nil
Expand Down

0 comments on commit 991c245

Please sign in to comment.