forked from TrueCloudLab/frostfs-node
[#733] frostfs-cli: Add control ir remove-container
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
f2437f7ae9
commit
189dbb01be
14 changed files with 806 additions and 110 deletions
|
@ -67,7 +67,7 @@ func (d *DeletePrm) SetKey(key []byte) {
|
|||
//
|
||||
// If TryNotary is provided, calls notary contract.
|
||||
func (c *Client) Delete(p DeletePrm) error {
|
||||
if len(p.signature) == 0 {
|
||||
if len(p.signature) == 0 && p.IsControl() {
|
||||
return errNilArgument
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue