CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 20:41:08 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/containerd/containerd.git
etag: W/"a2f1c7aca9fac7fef223a20587d35efe"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=6bQqwOzOoFPG6nXkEj6XeJIn%2BL%2B%2F1xAhnkMVpTX%2F64pcl2zJ%2FkaqYmb7t8tGty%2BF0%2BibZ52zWdKQvurZv7olitrZPkIDSGGQJ7ruV0siERxKc5yzwoB7WnEE1x5rOoNVtDPqqr28POJGtZmsFpd8NNBMY7WGGHih%2BQjDBhVWaELycdh6Ep0qWbTudmC2bBaloQ6ReaHvURZJ9ntl3yA%2FdpCHj0FqILuPd3t7%2Bw%2BBMCWxezSjWFlMggnONuzs4CqMIQoXY8hu5h%2B1gXQOwqVwkQ%3D%3D--fWemVALRm0tj%2FJ%2FB--yPSPzwFNz8EO%2Bd%2FqGP3YUg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.965749622.1753303267; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:41:07 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:41:07 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8A48:2DEF93:10C6B0A:13EF1D5:688148E3
Fix lint failures · containerd/containerd@2c9f577 · GitHub
Copy file name to clipboardExpand all lines: pkg/cri/server/image_pull.go
Copy file name to clipboardExpand all lines: pkg/cri/streaming/internal/wsstream/conn.go
Copy file name to clipboardExpand all lines: remotes/docker/fetcher_test.go
Copy file name to clipboardExpand all lines: services/content/contentserver/contentserver.go
Copy file name to clipboardExpand all lines: services/introspection/local.go
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit 2c9f577
committed
Fix lint failures
```
oci/spec_opts.go:581: File is not `gofmt`-ed with `-s` (gofmt)
// and the OCI Runtime Spec has no definition about the max UID,
// the runc implementation is known to require the UID to be <= MaxInt32.
//
// containerd follows runc's limitation here.
//
// In future we may relax this limitation to allow MaxUint32 - 2,
// or, amend the OCI Runtime Spec to codify the implementation limitation.
Error: pkg/cri/streaming/internal/wsstream/conn.go:72:1: Duplicate words (be) found (dupword)
// be valid) and data written by the server to the client is base64 encoded.
^
Error: services/introspection/local.go:98:59: printf: non-constant format string in call to github.com/containerd/errdefs.ToGRPCf (govet)
return nil, errdefs.ToGRPCf(errdefs.ErrInvalidArgument, err.Error())
^
Error: services/content/contentserver/contentserver.go:134:52: printf: non-constant format string in call to google.golang.org/grpc/status.Errorf (govet)
return nil, status.Errorf(codes.InvalidArgument, err.Error())
^
Error: filters/parser.go:211:27: printf: non-constant format string in call to (*github.com/containerd/containerd/filters.parser).mkerr (govet)
return "", p.mkerr(pos, p.scanner.err)
^
Error: filters/parser.go:232:26: printf: non-constant format string in call to (*github.com/containerd/containerd/filters.parser).mkerr (govet)
return 0, p.mkerr(pos, p.scanner.err)
^
Error: filters/parser.go:247:27: printf: non-constant format string in call to (*github.com/containerd/containerd/filters.parser).mkerr (govet)
return "", p.mkerr(pos, p.scanner.err)
^
Error: remotes/docker/fetcher_test.go:149:31: printf: non-constant format string in call to fmt.Errorf (govet)
mockedErr: fmt.Errorf(http.StatusText(http.StatusRequestTimeout)),
^
Error: remotes/docker/fetcher_test.go:157:31: printf: non-constant format string in call to fmt.Errorf (govet)
mockedErr: fmt.Errorf(http.StatusText(http.StatusTooManyRequests)),
^
Error: cio/io_test.go:46:5: SA4032: due to the file's build constraints, runtime.GOOS will never equal "windows" (staticcheck)
if runtime.GOOS == "windows" {
^
Error: cio/io_test.go:79:5: SA4032: due to the file's build constraints, runtime.GOOS will never equal "windows" (staticcheck)
if runtime.GOOS == "windows" {
^
Error: archive/tar.go:335:2: directive `//nolint:staticcheck // TypeRegA is deprecated but we may still receive an external tar with TypeRegA` is unused for linter "staticcheck" (nolintlint)
//nolint:staticcheck // TypeRegA is deprecated but we may still receive an external tar with TypeRegA
^
Error: images/archive/importer.go:97:3: directive `//nolint:staticcheck // TypeRegA is deprecated but we may still receive an external tar with TypeRegA` is unused for linter "staticcheck" (nolintlint)
//nolint:staticcheck // TypeRegA is deprecated but we may still receive an external tar with TypeRegA
^
Error: pkg/cri/server/image_pull.go:335:38: directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
tlsConfig.BuildNameToCertificate() //nolint:staticcheck
```
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>1 parent b2576bb commit 2c9f577Copy full SHA for 2c9f577
File tree
Expand file treeCollapse file tree
10 files changed
+17
-26
lines changedFilter options
- archive
- cio
- filters
- images/archive
- oci
- pkg/cri
- server
- streaming/internal/wsstream
- remotes/docker
- services
- content/contentserver
- introspection
Expand file treeCollapse file tree
10 files changed
+17
-26
lines changed-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
332 | 332 |
| |
333 | 333 |
| |
334 | 334 |
| |
335 |
| - | |
336 | 335 |
| |
337 | 336 |
| |
338 | 337 |
| |
|
-8Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
| |||
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 | 45 |
| |
51 | 46 |
| |
52 | 47 |
| |
| |||
76 | 71 |
| |
77 | 72 |
| |
78 | 73 |
| |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 | 74 |
| |
83 | 75 |
| |
84 | 76 |
| |
|
+3-3Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
208 | 208 |
| |
209 | 209 |
| |
210 | 210 |
| |
211 |
| - | |
| 211 | + | |
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 |
| - | |
| 232 | + | |
233 | 233 |
| |
234 | 234 |
| |
235 | 235 |
| |
| |||
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
| 247 | + | |
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
|
-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
97 |
| - | |
98 | 97 |
| |
99 | 98 |
| |
100 | 99 |
| |
|
+7-7Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
578 | 578 |
| |
579 | 579 |
| |
580 | 580 |
| |
581 |
| - | |
582 |
| - | |
583 |
| - | |
584 |
| - | |
585 |
| - | |
586 |
| - | |
587 |
| - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
588 | 588 |
| |
589 | 589 |
| |
590 | 590 |
| |
|
pkg/cri/server/image_pull.go
Copy file name to clipboardExpand all lines: pkg/cri/server/image_pull.go+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
332 | 332 |
| |
333 | 333 |
| |
334 | 334 |
| |
335 |
| - | |
| 335 | + | |
336 | 336 |
| |
337 | 337 |
| |
338 | 338 |
| |
|
pkg/cri/streaming/internal/wsstream/conn.go
Copy file name to clipboardExpand all lines: pkg/cri/streaming/internal/wsstream/conn.go+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
|
remotes/docker/fetcher_test.go
Copy file name to clipboardExpand all lines: remotes/docker/fetcher_test.go+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| |||
146 | 147 |
| |
147 | 148 |
| |
148 | 149 |
| |
149 |
| - | |
| 150 | + | |
150 | 151 |
| |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
154 | 155 |
| |
155 | 156 |
| |
156 | 157 |
| |
157 |
| - | |
| 158 | + | |
158 | 159 |
| |
159 | 160 |
| |
160 | 161 |
| |
|
services/content/contentserver/contentserver.go
Copy file name to clipboardExpand all lines: services/content/contentserver/contentserver.go+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
134 |
| - | |
| 134 | + | |
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
|
services/introspection/local.go
Copy file name to clipboardExpand all lines: services/introspection/local.go+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
98 |
| - | |
| 98 | + | |
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
|
You can’t perform that action at this time.
0 commit comments