Move "not found" presentation to CLI

This commit is contained in:
Jonathon Anderson
2022-09-16 21:56:39 +00:00
parent 14b45e37c0
commit 4661b02a3d
2 changed files with 5 additions and 4 deletions

View File

@@ -315,9 +315,6 @@ func ContainerShow(csp *wwapiv1.ContainerShowParameter) (response *wwapiv1.Conta
rootFsDir := container.RootFsDir(containerName)
kernelVersion := container.KernelVersion(containerName)
if kernelVersion == "" {
kernelVersion = "not found"
}
nodeDB, err := node.New()
if err != nil {