aboutsummaryrefslogtreecommitdiff
path: root/unmaintained/see_dat/see_dat.go
diff options
context:
space:
mode:
authorLei Liu <lei01.liu@horizon.ai>2019-09-29 14:17:37 +0800
committerLei Liu <lei01.liu@horizon.ai>2019-09-29 14:23:39 +0800
commit3cc084269c47d72df463760445920b45819e9feb (patch)
tree90c850277dd5ab530aae9baaf644d99bc779244c /unmaintained/see_dat/see_dat.go
parent972e881d485a1a5b4587f47ef55bbbf5182837f7 (diff)
downloadseaweedfs-3cc084269c47d72df463760445920b45819e9feb.tar.xz
seaweedfs-3cc084269c47d72df463760445920b45819e9feb.zip
master api: return http 404 when volumeId not exist
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
Diffstat (limited to 'unmaintained/see_dat/see_dat.go')
-rw-r--r--unmaintained/see_dat/see_dat.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/unmaintained/see_dat/see_dat.go b/unmaintained/see_dat/see_dat.go
index e8e54fd4f..e07704fc6 100644
--- a/unmaintained/see_dat/see_dat.go
+++ b/unmaintained/see_dat/see_dat.go
@@ -2,12 +2,11 @@ package main
import (
"flag"
+ "time"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/storage"
"github.com/chrislusf/seaweedfs/weed/storage/needle"
-
- "time"
)
var (
@@ -45,5 +44,4 @@ func main() {
if err != nil {
glog.Fatalf("Reading Volume File [ERROR] %s\n", err)
}
-
}