From 0b0efa0637ac21989eef17c22059d893bcb260a1 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Thu, 10 Dec 2020 20:54:15 -0800 Subject: [PATCH] Fix minor bug WRT top level container directory not being removed --- internal/pkg/container/vnfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/container/vnfs.go b/internal/pkg/container/vnfs.go index f81ac344..436dfed7 100644 --- a/internal/pkg/container/vnfs.go +++ b/internal/pkg/container/vnfs.go @@ -85,7 +85,7 @@ func ValidSource(name string) bool { } func DeleteSource(name string) error { - fullPath := RootFsDir(name) + fullPath := SourceDir(name) return os.RemoveAll(fullPath) }