Skip to content

Commit

Permalink
chore: fix spelling for daemon (#145)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>

Co-authored-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref and jsoref authored Feb 1, 2022
1 parent 09d0d83 commit 6f7f8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions environment/container/docker/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (d dockerRuntime) createDaemonFile() error {

b, err := json.MarshalIndent(daemonJson, "", " ")
if err != nil {
return fmt.Errorf("error marshaling deamon.json: %w", err)
return fmt.Errorf("error marshaling daemon.json: %w", err)
}
return d.host.Write(fileName, string(b))
}
Expand Down Expand Up @@ -81,7 +81,7 @@ func (d dockerRuntime) setupDaemonFile() error {
}

if err := d.guest.RunQuiet("sudo", "cp", daemonFileInVM, "/etc/docker/daemon.json"); err != nil {
return fmt.Errorf("error copying deamon.json: %w", err)
return fmt.Errorf("error copying daemon.json: %w", err)
}

// config changed, restart is a must. stop now, start will be done during start
Expand Down

0 comments on commit 6f7f8a9

Please sign in to comment.