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:
parent
08f39fad0a
commit
eb38f915f6
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue