Skip to content
Snippets Groups Projects

Explicitly require SimpleDelegator for internal events cli

Merged Sarah Yasonik requested to merge syasonik-master-patch-19527 into master

What does this MR do and why?

After updating my gdk, I just ran the internal events cli locally and hit an error:

% scripts/internal_events/cli.rb 
scripts/internal_events/cli.rb:128:in `<main>': uninitialized constant SimpleDelegator (NameError)

class GitlabPrompt < SimpleDelegator
                     ^^^^^^^^^^^^^^^

This MR fixes that error by require-ing the package needed for the Internal Events CLI to run.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. run scripts/internal_events/cli.rb from the gitlab directory

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading