Skip to content

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 <[email protected]>
1 parent ff224f8 commit 45a3d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)