Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix(dfdaemon): fix default value of options.DFRepo
Browse files Browse the repository at this point in the history
  • Loading branch information
lowzj committed Aug 3, 2018
1 parent 709d23a commit 6f43456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dfdaemon/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func New() *Options {
}

o := &Options{
DFRepo: os.Getenv("HOME") + ".small-dragonfly/dfdaemon/data/",
DFRepo: filepath.Join(os.Getenv("HOME"), ".small-dragonfly/dfdaemon/data/"),
DfPath: defaultPath,
CallSystem: "com_ops_dragonfly",
URLFilter: "Signature&Expires&OSSAccessKeyId",
Expand Down

0 comments on commit 6f43456

Please sign in to comment.