Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
973f6e12f6 |
@@ -1399,11 +1399,11 @@ func (v *Vaultik) confirmRemoveSnapshot(snapshotID string, opts *RemoveOptions)
|
|||||||
// without an error and removed at least one object; under LocalOnly it
|
// without an error and removed at least one object; under LocalOnly it
|
||||||
// does nothing. When the snapshot is only on the destination store, a
|
// does nothing. When the snapshot is only on the destination store, a
|
||||||
// failure is returned as an error, because that removal is all the
|
// failure is returned as an error, because that removal is all the
|
||||||
// command does. When the snapshot was in the local index, its removal
|
// command does. When the snapshot was in the local
|
||||||
// there has already happened, so a failure is only a warning telling the
|
// index, its removal there has already happened, so a failure is only a
|
||||||
// user to run `vaultik snapshot remove` for the snapshot again once the
|
// warning telling the user to run `vaultik snapshot remove` for the
|
||||||
// destination store is reachable (`vaultik prune` never removes snapshot
|
// snapshot again once the destination store is reachable (`vaultik
|
||||||
// metadata).
|
// prune` never removes snapshot metadata).
|
||||||
func (v *Vaultik) removeSnapshotRemote(
|
func (v *Vaultik) removeSnapshotRemote(
|
||||||
snapshotID string, inLocalIndex bool, opts *RemoveOptions,
|
snapshotID string, inLocalIndex bool, opts *RemoveOptions,
|
||||||
) (bool, error) {
|
) (bool, error) {
|
||||||
|
|||||||
Reference in new issue
Block a user