Skip to content

Commit

Permalink
cmd/initContainer: Fix typo
Browse files Browse the repository at this point in the history
Fallout from 772b66b

containers#545
  • Loading branch information
martinpitt authored and debarshiray committed Aug 28, 2020
1 parent 166b09b commit 3b6b9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/initContainer.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func initContainer(cmd *cobra.Command, args []string) error {

sudoGroup, err := utils.GetGroupForSudo()
if err != nil {
return fmt.Errorf("failed to add user %s: %s", initContainerFlags.user, err)
return fmt.Errorf("failed to get group for sudo: %w", err)
}

logrus.Debugf("Adding user %s with UID %d:", initContainerFlags.user, initContainerFlags.uid)
Expand Down

0 comments on commit 3b6b9e9

Please sign in to comment.