Fix minor bug WRT top level container directory not being removed

This commit is contained in:
Gregory Kurtzer
2020-12-10 20:54:15 -08:00
parent 7798b6b1e7
commit 0b0efa0637

View File

@@ -85,7 +85,7 @@ func ValidSource(name string) bool {
} }
func DeleteSource(name string) error { func DeleteSource(name string) error {
fullPath := RootFsDir(name) fullPath := SourceDir(name)
return os.RemoveAll(fullPath) return os.RemoveAll(fullPath)
} }