Skip to content

[release/1.6] golangci-lint: enable depguard for packages that moved#10368

Merged
dmcgowan merged 1 commit intocontainerd:release/1.6from
thaJeztah:1.6_add_depguard
Jun 20, 2024
Merged

[release/1.6] golangci-lint: enable depguard for packages that moved#10368
dmcgowan merged 1 commit intocontainerd:release/1.6from
thaJeztah:1.6_add_depguard

Conversation

@thaJeztah
Copy link
Member

Prevent accidental imports of the packages that moved to a separate module, but that are now an alias.

(cherry picked from commit 136e1b7)

@thaJeztah thaJeztah changed the title [release/1.6[ golangci-lint: enable depguard for packages that moved [release/1.6] golangci-lint: enable depguard for packages that moved Jun 19, 2024
@thaJeztah thaJeztah self-assigned this Jun 19, 2024
Copy link
Member

@akhilerm akhilerm left a comment

Choose a reason for hiding this comment

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

There is a small typo that needs to be fixed.

Prevent accidental imports of the packages that moved to a separate
module, but that are now an alias.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 136e1b7)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@dmcgowan dmcgowan merged commit a5f3ebb into containerd:release/1.6 Jun 20, 2024
@thaJeztah thaJeztah deleted the 1.6_add_depguard branch June 20, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants