add todo item

This was found out when playing around with CSRs and deleting a
dependency. No error was raised, which was weird.
This commit is contained in:
Gibheer 2017-06-03 22:04:50 +02:00
parent 08f39fad0a
commit eb38f915f6
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ func (s *Storage) Remove(r Resource) error {
return EUnknownType
}
for _, rn := range r.DependsOn() {
// TODO handle refresh of dependant resources or block the deletion
if deps, found := s.dependencies[rn.String()]; found {
delete(deps, r.Name().String())
}