Commit 1d6c1617 authored by fibonacci1729's avatar fibonacci1729

feat(rollback-storage): remove unreachable code from memory

parent b47379cc
...@@ -151,7 +151,6 @@ func (mem *Memory) Delete(key string) (*rspb.Release, error) { ...@@ -151,7 +151,6 @@ func (mem *Memory) Delete(key string) (*rspb.Release, error) {
default: default:
return nil, ErrInvalidKey return nil, ErrInvalidKey
} }
return nil, ErrReleaseNotFound
} }
func (mem *Memory) dump(w io.Writer) error { func (mem *Memory) dump(w io.Writer) error {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment