From 03a31587ce4a58fd8c3d0464bebf6420d2cf69ef Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 3 Sep 2021 20:42:28 -0700 Subject: [PATCH] go fmt --- weed/command/filer_remote_sync.go | 2 +- weed/util/constants.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.go index 33926b720..905ed73b3 100644 --- a/weed/command/filer_remote_sync.go +++ b/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 diff --git a/weed/util/constants.go b/weed/util/constants.go index d1c8e3d82..f1c565164 100644 --- a/weed/util/constants.go +++ b/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 {