moby/volume/drivers
Sebastiaan van Stijn e34ab5200d
fix formatting of "nolint" tags for go1.19
The correct formatting for machine-readable comments is;

    //<some alphanumeric identifier>:<options>[,<option>...][ // comment]

Which basically means:

- MUST NOT have a space before `<identifier>` (e.g. `nolint`)
- Identified MUST be alphanumeric
- MUST be followed by a colon
- MUST be followed by at least one `<option>`
- Optionally additional `<options>` (comma-separated)
- Optionally followed by a comment

Any other format will not be considered a machine-readable comment by `gofmt`,
and thus formatted as a regular comment. Note that this also means that a
`//nolint` (without anything after it) is considered invalid, same for `//#nosec`
(starts with a `#`).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4f08346686)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-15 13:45:13 +02:00
..
adapter.go Merge pull request #36688 from cpuguy83/volumes_service 2018-06-05 02:16:20 +02:00
extpoint.go fix formatting of "nolint" tags for go1.19 2022-07-15 13:45:13 +02:00
extpoint_test.go Remove use of global volume driver store 2018-04-17 14:07:08 -04:00
proxy.go Rename volumedrivers package to drivers 2018-04-17 14:06:53 -04:00
proxy_test.go Rename volumedrivers package to drivers 2018-04-17 14:06:53 -04:00