Skip to content

Commit

Permalink
fix log logic for ratelimit infra in runner
Browse files Browse the repository at this point in the history
Signed-off-by: Shawnh2 <shawnhxh@outlook.com>
  • Loading branch information
shawnh2 committed May 29, 2023
1 parent 14b694f commit b5860f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/infrastructure/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func (r *Runner) enableRateLimitInfra(ctx context.Context) {
r.Logger.Info("deleting ratelimit infra")
if err := r.mgr.DeleteRateLimitInfra(ctx); err != nil {
r.Logger.Error(err, "failed to delete ratelimit infra")
} else {
r.Logger.Info("ratelimit infra deleted")
}
r.Logger.Info("ratelimit infra deleted")
}

0 comments on commit b5860f8

Please sign in to comment.