Fix Go formatting issues to pass make local-check

Applied gofmt -s -w to fix formatting issues in pkglib/build.go that
were causing the make local-check target to fail during the gofmt step.

Signed-off-by: Paul Gaiduk <paulg@zededa.com>
This commit is contained in:
Paul Gaiduk
2025-09-30 21:57:43 +02:00
committed by Avi Deitcher
parent 47d5c89132
commit d94f2e9095
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ sign:
install:
cp -R ./bin/* $(PREFIX)/bin
.PHONY: clean
clean:
rm -rf bin *.log *-kernel *-cmdline *-state *.img *.iso *.gz *.qcow2 *.vhd *.vmx *.vmdk *.tar *.raw

View File

@@ -730,7 +730,7 @@ func (p Pkg) buildArch(ctx context.Context, d DockerRunner, c spec.CacheProvider
}
if bo.dryRun {
return []registry.Descriptor{registry.Descriptor{}}, nil
return []registry.Descriptor{{}}, nil
}
// find the child manifests