forked from TrueCloudLab/frostfs-contract
[#142] container: do not fail when deleting missing container
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
6bd088aa9f
commit
2cb10edfd2
2 changed files with 8 additions and 1 deletions
|
@ -303,7 +303,7 @@ func Delete(containerID []byte, signature interop.Signature, token []byte) {
|
|||
|
||||
ownerID := getOwnerByID(ctx, containerID)
|
||||
if ownerID == nil {
|
||||
panic(NotFoundError)
|
||||
return
|
||||
}
|
||||
|
||||
if notaryDisabled {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue