Browse Source

go fmt

pull/2321/head
Chris Lu 3 years ago
parent
commit
03a31587ce
  1. 2
      weed/command/filer_remote_sync.go
  2. 4
      weed/util/constants.go

2
weed/command/filer_remote_sync.go

@ -239,7 +239,7 @@ func makeEventProcessor(remoteStorage *remote_pb.RemoteConf, mountedDir string,
return eachEntryFunc, nil
}
func collectLastSyncOffset(option *RemoteSyncOptions, mountedDir string) (time.Time) {
func collectLastSyncOffset(option *RemoteSyncOptions, mountedDir string) time.Time {
// 1. specified by timeAgo
// 2. last offset timestamp for this directory
// 3. directory creation time

4
weed/util/constants.go

@ -6,8 +6,8 @@ import (
var (
VERSION_NUMBER = fmt.Sprintf("%.02f", 2.65)
VERSION = sizeLimit + VERSION_NUMBER
COMMIT = ""
VERSION = sizeLimit + VERSION_NUMBER
COMMIT = ""
)
func Version() string {

Loading…
Cancel
Save