mirror of
https://github.com/containrrr/watchtower.git
synced 2026-01-01 14:48:49 +01:00
Language tweaks for clarity
This commit is contained in:
parent
83cf4c2856
commit
6bd125d137
2 changed files with 5 additions and 1 deletions
|
|
@ -290,6 +290,10 @@ func writeStartupMessage(c *cobra.Command, sched time.Time, filtering string) {
|
|||
until := formatDuration(time.Until(sched))
|
||||
startupLog.Info("Scheduling first run: " + sched.Format("2006-01-02 15:04:05 -0700 MST"))
|
||||
startupLog.Info("Note that the first check will be performed in " + until)
|
||||
delayDays, _ = c.PersistentFlags().GetInt("delay-days")
|
||||
if delayDays > 0 {
|
||||
startupLog.Infof("Container updates will be delayed until %d day(s) after image creation.", delayDays)
|
||||
}
|
||||
} else if runOnce, _ := c.PersistentFlags().GetBool("run-once"); runOnce {
|
||||
startupLog.Info("Running a one time update.")
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue