Merge pull request #2524 from samuelkarp/time.Hour

replace 3600 seconds with 1 hour
This commit is contained in:
Akihiro Suda
2018-08-03 12:41:20 +09:00
committed by GitHub
4 changed files with 7 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ var createCommand = cli.Command{
cli.DurationFlag{
Name: "expires, x",
Usage: "expiration of lease (0 value will not expire)",
Value: 24 * 3600 * time.Second,
Value: 24 * time.Hour,
},
},
Action: func(context *cli.Context) error {