aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_sync_jobs.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/filer_sync_jobs.go')
-rw-r--r--weed/command/filer_sync_jobs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_sync_jobs.go b/weed/command/filer_sync_jobs.go
index 50428a3ad..9d2ba75d5 100644
--- a/weed/command/filer_sync_jobs.go
+++ b/weed/command/filer_sync_jobs.go
@@ -54,7 +54,7 @@ func (t *MetadataProcessor) AddSyncJob(resp *filer_pb.SubscribeMetadataResponse)
// if is the oldest job, write down the watermark
isOldest := true
- for t, _ := range t.activeJobs {
+ for t := range t.activeJobs {
if resp.TsNs > t {
isOldest = false
break