mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix compilation error
This commit is contained in:
parent
49b5e47bd1
commit
c3ffd457ef
|
@ -66,4 +66,5 @@ func SubscribeMetaEvents(mc *MetaCache, selfSignature int32, client filer_pb.Fil
|
|||
return true
|
||||
})
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ func Retry(name string, job func() error) (err error) {
|
|||
func RetryForever(name string, job func() error, onErrFn func(err error) bool) {
|
||||
waitTime := time.Second
|
||||
for {
|
||||
err = job()
|
||||
err := job()
|
||||
if err == nil {
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue