Skip to content

Commit 38ed5c7

Browse files
committed
fix: remove unused config arg
Signed-off-by: swj <[email protected]>
1 parent 2062b8b commit 38ed5c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/meta/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import (
3636

3737
// Config for clients.
3838
type Config struct {
39-
Strict bool // update ctime
4039
Retries int
4140
MaxDeletes int
4241
SkipDirNlink int
@@ -58,7 +57,7 @@ type Config struct {
5857
}
5958

6059
func DefaultConf() *Config {
61-
return &Config{Strict: true, Retries: 10, MaxDeletes: 2, Heartbeat: 12 * time.Second, AtimeMode: NoAtime, DirStatFlushPeriod: 1 * time.Second}
60+
return &Config{Retries: 10, MaxDeletes: 2, Heartbeat: 12 * time.Second, AtimeMode: NoAtime, DirStatFlushPeriod: 1 * time.Second}
6261
}
6362

6463
func (c *Config) SelfCheck() {

0 commit comments

Comments
 (0)