Skip to content

Fix golang module#284

Merged
avlitman merged 1 commit intokubevirt:mainfrom
nunnatsa:fix-go-module
Feb 17, 2025
Merged

Fix golang module#284
avlitman merged 1 commit intokubevirt:mainfrom
nunnatsa:fix-go-module

Conversation

@nunnatsa
Copy link
Collaborator

@nunnatsa nunnatsa commented Feb 17, 2025

What this PR does / why we need it:
The monitiringlint is used as a go module, but the repo is not a valid go module, as the go.mod file is not in the repo's root directory.

This PR moves the go.mod to the root dir, to allow importing the linter as a module and/or go install the linter cmd.
Release note:

Fix golang module to be in the repo's root dir

The monitiringlint is used as a go module, but the repo is not a valid
go module, as the go.mod file is not in the repo's root directory.

This PR moves the go.mod to the root dir, to allow importing the linter
as a module and/or go install the linter cmd.

Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
@kubevirt-bot kubevirt-bot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label Feb 17, 2025
@avlitman avlitman merged commit 234f65f into kubevirt:main Feb 17, 2025
2 checks passed
@nunnatsa nunnatsa deleted the fix-go-module branch February 17, 2025 13:39
github-actions bot pushed a commit that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants