Skip to content

Remove unused functions (and its dependency)#93

Merged
gab-arrobo merged 1 commit intoomec-project:mainfrom
gab-arrobo:remove-unused-functions
Oct 9, 2025
Merged

Remove unused functions (and its dependency)#93
gab-arrobo merged 1 commit intoomec-project:mainfrom
gab-arrobo:remove-unused-functions

Conversation

@gab-arrobo
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
@gab-arrobo gab-arrobo requested review from a team and Copilot October 9, 2025 05:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes unused mock testing functions and their associated dependency to clean up the codebase. The changes eliminate two HTTP/2 client interceptor functions that were likely used for testing but are no longer needed.

  • Removed InterceptH2CClient() and RestoreH2CClient() functions from client.go
  • Removed the gopkg.in/h2non/gock.v1 dependency and its transitive dependency from go.mod

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
client.go Removed unused HTTP/2 client mock interceptor functions and their import
go.mod Removed gock testing library and its transitive dependency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@gab-arrobo gab-arrobo merged commit edaad23 into omec-project:main Oct 9, 2025
6 checks passed
@gab-arrobo gab-arrobo deleted the remove-unused-functions branch October 9, 2025 05:35
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