summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-03-01 23:59:41 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-06 01:21:09 +0000
commitcf0e5c677440551e849e96ce0bf522b70e5c85ec (patch)
tree82651ed894db05a60b116eb3d4ee007b25af892c
parent32be712cd32bbfb7babb27e5405db08967a5af71 (diff)
downloadpodman-cf0e5c677440551e849e96ce0bf522b70e5c85ec.tar.gz
podman-cf0e5c677440551e849e96ce0bf522b70e5c85ec.tar.bz2
podman-cf0e5c677440551e849e96ce0bf522b70e5c85ec.zip
Fix review comments
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #430 Approved by: rhatdan
-rw-r--r--libpod/runtime.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index a2331e38e..cd519b3ab 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -81,7 +81,7 @@ type RuntimeConfig struct {
// images
ImageDefaultTransport string `toml:"image_default_transport"`
// SignaturePolicyPath is the path to a signature policy to use for
- // validationg images
+ // validating images
// If left empty, the containers/image default signature policy will
// be used
SignaturePolicyPath string `toml:"signature_policy_path,omitempty"`
@@ -217,7 +217,7 @@ func NewRuntimeFromConfig(configPath string, options ...RuntimeOption) (runtime
// Check to see if the given configuration file exists
if _, err := os.Stat(configPath); err != nil {
- return nil, errors.Wrapf(err, "error stating configuration file %s", configPath)
+ return nil, errors.Wrapf(err, "error checking existence of configuration file %s", configPath)
}
// Read contents of the config file