save updated lastTsNs

This commit is contained in:
Chris Lu committed 2021-10-17 02:01:20 -07:00
1 parent 71a8c80f6f
commit 004e56c1a6
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func (s3a *S3ApiServer) subscribeMetaEvents(clientName string, prefix string, la
}
util.RetryForever("followIamChanges", func() error {
return pb.WithFilerClientFollowMetadata(s3a, clientName, prefix, lastTsNs, 0, processEventFn, true)
return pb.WithFilerClientFollowMetadata(s3a, clientName, prefix, &lastTsNs, 0, processEventFn, true)
}, func(err error) bool {
glog.V(0).Infof("iam follow metadata changes: %v", err)
return true