There was an error while loading. Please reload this page.
1 parent 0846c6a commit 3400ffaCopy full SHA for 3400ffa
1 file changed
rhel/internal/common/updater.go
@@ -38,10 +38,6 @@ func NewUpdater(url string, init interface{}) *Updater {
38
reqRate: rate.NewLimiter(interval, 1),
39
}
40
u.value.Store(init)
41
- // If we were provided an initial value, pull the first token.
42
- if !reflect.ValueOf(init).IsNil() {
43
- u.reqRate.Allow()
44
- }
45
return &u
46
47
0 commit comments