Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Commit 45a3d3d

Browse files
committed
image/config: Replace '%s' with %q
Fewer characters for us, and safer quoting for consumers. Signed-off-by: W. Trevor King <wking@tremily.us>
1 parent ff224f8 commit 45a3d3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

image/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func findConfig(w walker, d *descriptor) (*config, error) {
5555
}
5656
// check if the rootfs type is 'layers'
5757
if c.RootFS.Type != "layers" {
58-
return fmt.Errorf("'%s' is an unknown rootfs type, MUST be 'layers'", c.RootFS.Type)
58+
return fmt.Errorf("%q is an unknown rootfs type, MUST be 'layers'", c.RootFS.Type)
5959
}
6060
return errEOW
6161
}); err {

0 commit comments

Comments
 (0)