Skip to content

Commit f24d27b

Browse files
authored
Merge pull request #35 from wking/percent-q-to-quote
image/config: Replace `'%s'` with `%q`
2 parents ff224f8 + 45a3d3d commit f24d27b

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)