Skip to content

Commit

Permalink
fix duration func for open-cache (#4654)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangyoupeng authored Apr 7, 2024
1 parent 2fa065b commit 82cf613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func getMetaConf(c *cli.Context, mp string, readOnly bool) *meta.Config {
conf.SkipDirNlink = c.Int("skip-dir-nlink")
conf.ReadOnly = readOnly
conf.NoBGJob = c.Bool("no-bgjob")
conf.OpenCache = duration(c.String("open-cache"))
conf.OpenCache = utils.Duration(c.String("open-cache"))
conf.OpenCacheLimit = c.Uint64("open-cache-limit")
conf.Heartbeat = utils.Duration(c.String("heartbeat"))
conf.MountPoint = mp
Expand Down

0 comments on commit 82cf613

Please sign in to comment.