1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

golangci-lint: suppress Xattrs is deprecated: Use PAXRecords instead

```
pkg/archive/archive.go:407:3:       SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive.go:408:3:       SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive.go:661:26:      SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive_linux.go:47:7:  SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive_linux.go:48:12: SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-09-11 19:29:55 +02:00
parent f41712c4be
commit df7d719e4c
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -46,3 +46,11 @@ issues:
- text: "G202: SQL string concatenation" - text: "G202: SQL string concatenation"
linters: linters:
- gosec - gosec
# FIXME temporarily suppress these. See #39924
- text: "SA1019: h.Xattrs is deprecated: Use PAXRecords instead"
linters:
- staticcheck
# FIXME temporarily suppress these. See #39924
- text: "SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead"
linters:
- staticcheck