Skip to content

Commit 3400ffa

Browse files
committed
rhel: try mapping URL for the first attempt
Signed-off-by: daynewlee <yli3@redhat.com>
1 parent 0846c6a commit 3400ffa

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

rhel/internal/common/updater.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ func NewUpdater(url string, init interface{}) *Updater {
3838
reqRate: rate.NewLimiter(interval, 1),
3939
}
4040
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-
}
4541
return &u
4642
}
4743

0 commit comments

Comments
 (0)