Skip to content

Commit e908be5

Browse files
authored
Merge pull request #5001 from kzys/no-lint-upgrade
2 parents d05f7bd + 07db46e commit e908be5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- uses: golangci/golangci-lint-action@v2
3838
with:
39-
version: v1.29.0
39+
version: v1.36.0
4040
working-directory: src/github.com/containerd/containerd
4141
args: --timeout=5m
4242

pkg/cri/server/container_create_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ func (c *criService) containerSpecOpts(config *runtime.ContainerConfig, imageCon
310310

311311
asp := securityContext.GetApparmor()
312312
if asp == nil {
313-
asp, err = generateApparmorSecurityProfile(securityContext.GetApparmorProfile()) // nolint:staticcheck deprecated but we don't want to remove yet
313+
asp, err = generateApparmorSecurityProfile(securityContext.GetApparmorProfile()) //nolint:staticcheck // Deprecated but we don't want to remove yet
314314
if err != nil {
315315
return nil, errors.Wrap(err, "failed to generate apparmor spec opts")
316316
}
@@ -329,7 +329,7 @@ func (c *criService) containerSpecOpts(config *runtime.ContainerConfig, imageCon
329329
ssp := securityContext.GetSeccomp()
330330
if ssp == nil {
331331
ssp, err = generateSeccompSecurityProfile(
332-
securityContext.GetSeccompProfilePath(), // nolint:staticcheck deprecated but we don't want to remove yet
332+
securityContext.GetSeccompProfilePath(), //nolint:staticcheck // Deprecated but we don't want to remove yet
333333
c.config.UnsetSeccompProfile)
334334
if err != nil {
335335
return nil, errors.Wrap(err, "failed to generate seccomp spec opts")

pkg/cri/server/sandbox_run_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func (c *criService) sandboxContainerSpecOpts(config *runtime.PodSandboxConfig,
170170
ssp := securityContext.GetSeccomp()
171171
if ssp == nil {
172172
ssp, err = generateSeccompSecurityProfile(
173-
securityContext.GetSeccompProfilePath(), // nolint:staticcheck deprecated but we don't want to remove yet
173+
securityContext.GetSeccompProfilePath(), //nolint:staticcheck // Deprecated but we don't want to remove yet
174174
c.config.UnsetSeccompProfile)
175175
if err != nil {
176176
return nil, errors.Wrap(err, "failed to generate seccomp spec opts")

0 commit comments

Comments
 (0)