Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix: stop aborting when installing CRI was successful
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed Apr 30, 2021
1 parent d7b2821 commit 396b54f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/operator/nodeagent/dep/cri/ensure.go
Expand Up @@ -120,11 +120,12 @@ func (c *criDep) run(runtime, version, repoURL, keyURL, keyFingerprint string, l
return err
}

err := c.manager.Install(&dep.Software{
if err := c.manager.Install(&dep.Software{
Package: runtime,
Version: version,
})
return err
}); err != nil {
return err
}

if err := c.systemd.Enable("docker"); err != nil {
return err
Expand Down

0 comments on commit 396b54f

Please sign in to comment.