We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent effdf1b commit ceea57bCopy full SHA for ceea57b
1 file changed
cli/command/container/create.go
@@ -428,6 +428,7 @@ func copyDockerConfigIntoContainer(ctx context.Context, apiClient client.APIClie
428
})
429
430
if _, err := io.Copy(tarWriter, &configBuf); err != nil {
431
+ _ = tarWriter.Close()
432
return fmt.Errorf("writing config to tar file for config copy: %w", err)
433
}
434
0 commit comments