Skip to content

Add explicit return to avoid lint issues#726

Merged
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:explicit-return
Jun 17, 2026
Merged

Add explicit return to avoid lint issues#726
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:explicit-return

Conversation

@gab-arrobo

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an explicit return after a t.Fatal(...) in an integration test to satisfy lint/style expectations that prefer an explicit control-flow terminator after fatal test failures.

Changes:

  • Add return immediately after t.Fatal(...) when ratInformation is nil in TestHandleRegistrationRequestUpgradesRatTypeFromNGSetupRATInformation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gab-arrobo
gab-arrobo merged commit 46e5939 into omec-project:main Jun 17, 2026
12 checks passed
@gab-arrobo
gab-arrobo deleted the explicit-return branch June 17, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants