Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ require (
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] logic-error

The PR title claims to 'update module gopkg.in/yaml.v2 to v3', but the actual diff only moves the gopkg.in/yaml.v2 v2.4.0 line from one require block to another within go.mod. No version update occurs β€” the dependency remains at v2.4.0. In Go modules, gopkg.in/yaml.v2 and gopkg.in/yaml.v3 are distinct module paths; a genuine upgrade requires changing all import statements in .go files, adapting to API differences, and removing the v2 dependency. gopkg.in/yaml.v3 v3.0.1 was already present before this PR. The change as written is a no-op with no functional effect.

Suggested fix: Either (a) close this PR since it does not accomplish what it claims, or (b) perform the actual yaml.v2-to-v3 migration: update transitive dependencies, change import paths in source files, adapt to yaml.v3 API differences, remove the yaml.v2 require line, and run go mod tidy.

k8s.io/code-generator v0.36.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.4.0 // indirect
)
Expand Down Expand Up @@ -104,7 +105,6 @@ require (
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.36.0 // indirect
k8s.io/klog/v2 v2.140.0 // indirect
Expand Down
Loading