DockerCLI/cli/command/formatter
Sebastiaan van Stijn 2f7e84be65
linting: fix incorrectly formatted errors (revive)
cli/compose/interpolation/interpolation.go:102:4: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
                "invalid interpolation format for %s: %#v. You may need to escape any $ with another $.",
                ^

    cli/command/stack/loader/loader.go:30:30: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
                return nil, errors.Errorf("Compose file contains unsupported options:\n\n%s\n",
                                          ^

    cli/command/formatter/formatter.go:76:30: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
            return tmpl, errors.Errorf("Template parsing error: %v\n", err)
                                       ^

    cli/command/formatter/formatter.go:97:24: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
            return errors.Errorf("Template parsing error: %v\n", err)
                                 ^

    cli/command/image/build.go:257:25: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
                return errors.Errorf("error checking context: '%s'.", err)
                                     ^

    cli/command/volume/create.go:35:27: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
                        return errors.Errorf("Conflicting options: either specify --name or provide positional arg, not both\n")
                                             ^

    cli/command/container/create.go:160:24: error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
            return errors.Errorf("failed to remove the CID file '%s': %s \n", cid.path, err)
                                 ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4ab70bf61e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-18 19:16:48 +02:00
..
testdata formatter: reduce minimum width for columns in table-view 2020-08-31 16:31:15 +02:00
buildcache.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
container.go Fix docker ps --format with templating functions 2019-12-27 12:35:55 +01:00
container_test.go linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
context.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
custom.go docker ps: add State field to formatting 2019-07-12 13:31:16 +02:00
disk_usage.go Fix docker ps --format with templating functions 2019-12-27 12:35:55 +01:00
disk_usage_test.go linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
displayutils.go Refactor stringutils and fix docker search output form when the description has CJK character 2017-10-27 11:15:10 +08:00
displayutils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
formatter.go linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
image.go Return empty string if image createdAt is zero 2019-10-29 17:15:28 -03:00
image_test.go linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00
reflect.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
reflect_test.go Add unused linter. 2017-06-14 16:54:27 -07:00
volume.go formatter package heavy refactoring 2018-10-23 17:05:44 +02:00
volume_test.go linting: fix incorrectly formatted errors (revive) 2022-08-18 19:16:48 +02:00