mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
b7b1d77139
The policy in the time-of-day Sentinel example incorrectly references the top-level time.hour constant. This is actually the same as the time.Hour Go value, so in other words, 3600000000000 (the int64 value representing the time in nanoseconds). This is corrected by just using time.now.hour instead.