Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pkg/unikontainers/unikontainers.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ func New(bundlePath string, containerID string, rootDir string, cfg *UruncConfig

config, err := GetUnikernelConfig(bundlePath, spec)
if err != nil {
return nil, ErrNotUnikernel
if errors.Is(err, os.ErrNotExist) {
return nil, ErrNotUnikernel
}
return nil, err
}

confMap := config.Map()
Expand Down