Skip to content

Commit

Permalink
Merge pull request #35 from wking/percent-q-to-quote
Browse files Browse the repository at this point in the history
image/config: Replace `'%s'` with `%q`
  • Loading branch information
jonboulle authored Oct 7, 2016
2 parents ff224f8 + 45a3d3d commit f24d27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func findConfig(w walker, d *descriptor) (*config, error) {
}
// check if the rootfs type is 'layers'
if c.RootFS.Type != "layers" {
return fmt.Errorf("'%s' is an unknown rootfs type, MUST be 'layers'", c.RootFS.Type)
return fmt.Errorf("%q is an unknown rootfs type, MUST be 'layers'", c.RootFS.Type)
}
return errEOW
}); err {
Expand Down

0 comments on commit f24d27b

Please sign in to comment.