Skip to content

Commit

Permalink
image/config: Replace '%s' with %q
Browse files Browse the repository at this point in the history
Fewer characters for us, and safer quoting for consumers.

Signed-off-by: W. Trevor King <wking@tremily.us>
  • Loading branch information
wking committed Oct 6, 2016
1 parent ff224f8 commit 45a3d3d
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 45a3d3d

Please sign in to comment.