mirror of https://github.com/docker/cli.git
linting: format the codebase with gofumpt
...to appease the linter. Signed-off-by: Cory Snider <csnider@mirantis.com>
This commit is contained in:
parent
72d8f66a68
commit
069e27c180
|
@ -126,7 +126,6 @@ func TestGetContextFromReaderString(t *testing.T) {
|
||||||
tarReader := tar.NewReader(tarArchive)
|
tarReader := tar.NewReader(tarArchive)
|
||||||
|
|
||||||
_, err = tarReader.Next()
|
_, err = tarReader.Next()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Error when reading tar archive: %s", err)
|
t.Fatalf("Error when reading tar archive: %s", err)
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,6 @@ func runCreate(dockerCli command.Cli, options pluginCreateOptions) error {
|
||||||
createCtx, err = archive.TarWithOptions(absContextDir, &archive.TarOptions{
|
createCtx, err = archive.TarWithOptions(absContextDir, &archive.TarOptions{
|
||||||
Compression: compression,
|
Compression: compression,
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue