Skip to content

Conversation

@gab-arrobo
Copy link
Contributor

No description provided.

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

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 updates the project's YAML dependency from the unmaintained gopkg.in/yaml.v2 to the actively maintained go.yaml.in/yaml/v4 library to improve security and maintainability.

  • Replaces import statement from gopkg.in/yaml.v2 to go.yaml.in/yaml/v4 in metricfunc.go
  • Updates go.mod to use v4.0.0-rc.2 of the new YAML library and removes the old v2 dependency

Reviewed Changes

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

File Description
metricfunc.go Updates import statement to use the new YAML v4 library
go.mod Adds new YAML v4 dependency and removes the old v2 dependency

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

@thakurajayL thakurajayL merged commit 8617189 into omec-project:main Sep 9, 2025
9 checks passed
@gab-arrobo gab-arrobo deleted the replace-outdated-dep branch September 9, 2025 21:22
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.

2 participants