From ff1c04c4860e263c53ae62e7c08146c272e3f1c8 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 19 Jul 2013 19:37:10 -0700 Subject: [PATCH] fix issue 34 --- go/storage/store.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go/storage/store.go b/go/storage/store.go index 0238bbbbd..fcb9ce41c 100644 --- a/go/storage/store.go +++ b/go/storage/store.go @@ -146,9 +146,8 @@ func (s *Store) FreezeVolume(volumeIdString string) error { return fmt.Errorf("Volume %s is already read-only", volumeIdString) } return v.freeze() - } else { - return fmt.Errorf("volume id %s is not found during freeze!", vid) } + return fmt.Errorf("volume id %s is not found during freeze!", vid) } func (l *DiskLocation) loadExistingVolumes() { if dirs, err := ioutil.ReadDir(l.directory); err == nil {