mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-10-24 09:02:20 +00:00
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:
committed by
Avi Deitcher
parent
47d5c89132
commit
d94f2e9095
@@ -117,7 +117,7 @@ sign:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
cp -R ./bin/* $(PREFIX)/bin
|
cp -R ./bin/* $(PREFIX)/bin
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf bin *.log *-kernel *-cmdline *-state *.img *.iso *.gz *.qcow2 *.vhd *.vmx *.vmdk *.tar *.raw
|
rm -rf bin *.log *-kernel *-cmdline *-state *.img *.iso *.gz *.qcow2 *.vhd *.vmx *.vmdk *.tar *.raw
|
||||||
|
|||||||
@@ -730,7 +730,7 @@ func (p Pkg) buildArch(ctx context.Context, d DockerRunner, c spec.CacheProvider
|
|||||||
}
|
}
|
||||||
|
|
||||||
if bo.dryRun {
|
if bo.dryRun {
|
||||||
return []registry.Descriptor{registry.Descriptor{}}, nil
|
return []registry.Descriptor{{}}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// find the child manifests
|
// find the child manifests
|
||||||
|
|||||||
Reference in New Issue
Block a user