diff options
Diffstat (limited to 'runsc/specutils/specutils.go')
-rw-r--r-- | runsc/specutils/specutils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/specutils/specutils.go b/runsc/specutils/specutils.go index c72207fb4..2888f55db 100644 --- a/runsc/specutils/specutils.go +++ b/runsc/specutils/specutils.go @@ -149,7 +149,7 @@ func OpenSpec(bundleDir string) (*os.File, error) { func ReadSpec(bundleDir string) (*specs.Spec, error) { specFile, err := OpenSpec(bundleDir) if err != nil { - return nil, fmt.Errorf("error opening spec file %q: %v", specFile.Name(), err) + return nil, fmt.Errorf("error opening spec file %q: %v", filepath.Join(bundleDir, "config.json"), err) } defer specFile.Close() return ReadSpecFromFile(bundleDir, specFile) |