mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
enable gofumpt formatter
Based on our discussion gofumpt won the vote so use that one via golangci-lint. https://github.com/containers/podman/discussions/27291 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -43,9 +43,7 @@ func setupLogging(name string) (*eventlog.Log, error) {
|
||||
|
||||
func installWslKernel() error {
|
||||
logrus.Info("Installing WSL Kernel update")
|
||||
var (
|
||||
err error
|
||||
)
|
||||
var err error
|
||||
backoff := 500 * time.Millisecond
|
||||
for i := 1; i < 6; i++ {
|
||||
err = wutil.SilentExec("--update")
|
||||
|
||||
Reference in New Issue
Block a user