Fix minor bug WRT top level container directory not being removed
This commit is contained in:
@@ -85,7 +85,7 @@ func ValidSource(name string) bool {
|
||||
}
|
||||
|
||||
func DeleteSource(name string) error {
|
||||
fullPath := RootFsDir(name)
|
||||
fullPath := SourceDir(name)
|
||||
|
||||
return os.RemoveAll(fullPath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user