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