Skip to content

containerd.installer: refactor#40892

Merged
tianon merged 1 commit intomoby:masterfrom
thaJeztah:cleanup_containerd_installer
May 19, 2020
Merged

containerd.installer: refactor#40892
tianon merged 1 commit intomoby:masterfrom
thaJeztah:cleanup_containerd_installer

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

  • add set -e to prevent linting warnings
  • use install instead of cp
  • use a subshell for the whole function, instead of starting one
    inside it.

- add `set -e` to prevent linting warnings
- use `install` instead of `cp`
- use a subshell for the whole function, instead of starting one
  inside it.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the cleanup_containerd_installer branch from 4a7704f to 886c838 Compare May 2, 2020 16:44
Copy link
Copy Markdown
Member

@tianon tianon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tianon tianon merged commit e573542 into moby:master May 19, 2020
@thaJeztah thaJeztah deleted the cleanup_containerd_installer branch May 19, 2020 19:36
@thaJeztah thaJeztah added this to the 20.03.0 milestone Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants