bcacheup: oops, flag.Interval should be flag.Duration

This commit is contained in:
Luke Granger-Brown 2022-10-09 18:15:14 +01:00
parent 5813754e18
commit 4fc89a6c5d

View file

@ -32,7 +32,7 @@ import (
var ( var (
blobURLFlag = flag.String("cache_url", "", "Cache URL") blobURLFlag = flag.String("cache_url", "", "Cache URL")
storeDBFlag = flag.String("nix_store_db", nixstore.DefaultStoreDB, "Path to the nix store database") storeDBFlag = flag.String("nix_store_db", nixstore.DefaultStoreDB, "Path to the nix store database")
stateSummaryIntervalFlag = flag.Interval("state_summary_interval", 10*time.Second, "Time between state summary outputs.") stateSummaryIntervalFlag = flag.Duration("state_summary_interval", 10*time.Second, "Time between state summary outputs.")
) )
var ( var (