From cf0e5c677440551e849e96ce0bf522b70e5c85ec Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 1 Mar 2018 23:59:41 -0500 Subject: Fix review comments Signed-off-by: Matthew Heon Closes: #430 Approved by: rhatdan --- libpod/runtime.go | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf