aboutsummaryrefslogtreecommitdiffhomepage
path: root/commands/commandeer.go
diff options
context:
space:
mode:
authorAnthony Fok <[email protected]>2023-07-03 18:53:49 -0600
committerBjørn Erik Pedersen <[email protected]>2023-07-04 09:14:48 +0200
commitbf7ee8a91acf17613ffcd9c2f8c13abfa1ed0a11 (patch)
tree78cd2145cc074efe9451bdcafbfcbe7cabf5b1e1 /commands/commandeer.go
parentd912491f2d06b391184e0ee7974f285ca83c5fe6 (diff)
downloadhugo-bf7ee8a91acf17613ffcd9c2f8c13abfa1ed0a11.tar.gz
hugo-bf7ee8a91acf17613ffcd9c2f8c13abfa1ed0a11.zip
Bump github.com/bep/clock v0.3.0 to renamed github.com/bep/clocks v0.5.0
Diffstat (limited to 'commands/commandeer.go')
-rw-r--r--commands/commandeer.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/commandeer.go b/commands/commandeer.go
index 1a4ecf64f..ef504bcbc 100644
--- a/commands/commandeer.go
+++ b/commands/commandeer.go
@@ -30,7 +30,7 @@ import (
"go.uber.org/automaxprocs/maxprocs"
- "github.com/bep/clock"
+ "github.com/bep/clocks"
"github.com/bep/lazycache"
"github.com/bep/logg"
"github.com/bep/overlayfs"
@@ -173,7 +173,7 @@ func (r *rootCommand) ConfigFromConfig(key int32, oldConf *commonConfig) (*commo
if !configs.Base.C.Clock.IsZero() {
// TODO(bep) find a better place for this.
- htime.Clock = clock.Start(configs.Base.C.Clock)
+ htime.Clock = clocks.Start(configs.Base.C.Clock)
}
return &commonConfig{
@@ -283,7 +283,7 @@ func (r *rootCommand) ConfigFromProvider(key int32, cfg config.Provider) (*commo
if !base.C.Clock.IsZero() {
// TODO(bep) find a better place for this.
- htime.Clock = clock.Start(configs.Base.C.Clock)
+ htime.Clock = clocks.Start(configs.Base.C.Clock)
}
if base.PrintPathWarnings {