Skip to content

Conversation

@kolyshkin
Copy link
Collaborator

No description provided.

1. Drop the last argument of tMount as it's always "".

2. Drop the error return of tMount, instead use t.Fatal.

3. Do the same for prepare. Fix the doc accordingly.

4. Add tCreateFile helper.

5. Change MkdirTemp to Mkdir since we have a new empty directory.

6. Inline some t.TempDir() calls.

7. Sprinkle t.Helper().

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Also:
 - sort the list of linters;
 - remove capability/.golangci.yml as it is now identical to the
   main one.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
Copy link
Collaborator Author

Fixed review comments; PTAL @thaJeztah

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah thaJeztah merged commit ed0950b into moby:main Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants