renmae because im too lazy to finish

main
Bel LaPointe 2025-12-11 11:08:54 -07:00
parent 3ae725edad
commit ccfe60f0ac
1 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ func run(ctx context.Context) error {
return nil return nil
} }
pop := func() (any, error) { peek := func() (any, error) {
curId, _, err := head() curId, _, err := head()
if err != nil { if err != nil {
return nil, err return nil, err
@ -178,8 +178,8 @@ func run(ctx context.Context) error {
} }
with.Every(ctx, time.Second, func() { with.Every(ctx, time.Second, func() {
if _, err := pop(); err != nil { if _, err := peek(); err != nil {
log.Printf("failed pop: %v", err) log.Printf("failed peek: %v", err)
} }
}) })