linting: format the codebase with gofumpt

...to appease the linter.

Signed-off-by: Cory Snider <csnider@mirantis.com>
This commit is contained in:
Cory Snider 2024-09-04 16:16:31 -04:00
parent 72d8f66a68
commit 069e27c180
2 changed files with 0 additions and 2 deletions

View File

@ -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)
} }

View File

@ -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
} }