summaryrefslogtreecommitdiffhomepage
path: root/server/server.go
diff options
context:
space:
mode:
authorWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-17 02:06:22 -0500
committerWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-17 21:52:20 -0500
commit24e397b0f65b1c5294ea711a953501fda944411d (patch)
tree6a08d7863516465fc1c421cfd20805f2c209f833 /server/server.go
parenta3e262f3a83fedeeabc5c7820a6d42b54e0325c1 (diff)
add go vet test
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/server.go')
-rw-r--r--server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.go b/server/server.go
index d71e45b2..aaa69e7d 100644
--- a/server/server.go
+++ b/server/server.go
@@ -2515,7 +2515,7 @@ func (w *Watcher) Generate(t WatchEventType) (err error) {
}
w.notify(&WatchEventTable{PathList: pathList, Neighbor: l})
default:
- err = fmt.Errorf("unsupported type ", t)
+ err = fmt.Errorf("unsupported type %v", t)
return
}
}