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 @@ -105,7 +105,7 @@ require (
go.opentelemetry.io/otel v1.44.0 // indirect
go.opentelemetry.io/otel/metric v1.44.0 // indirect
go.opentelemetry.io/otel/trace v1.44.0 // indirect
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
Comment on lines +108 to 109
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚑ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify duplicate go.yaml.in/yaml/v3 entries in go.mod
rg -n '^\s*go\.yaml\.in/yaml/v3\s+v3\.0\.4\b' go.mod
# Expected: exactly one match. Current diff shows two (Lines 108 and 109).

Repository: openshift/lightspeed-operator

Length of output: 159


Remove duplicated go.yaml.in/yaml/v3 v3.0.4 // indirect entries from go.mod.
go.mod contains the exact same go.yaml.in/yaml/v3 v3.0.4 // indirect requirement twice (lines 108–109); keep only one to avoid go.mod hygiene/tooling issues.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@go.mod` around lines 108 - 109, go.mod contains a duplicated module
requirement "go.yaml.in/yaml/v3 v3.0.4 // indirect"; remove one of the identical
lines so the dependency appears only once and then run go mod tidy to ensure the
module file is normalized; target the duplicate "go.yaml.in/yaml/v3 v3.0.4 //
indirect" entry when editing.

golang.org/x/crypto v0.52.0 // indirect
golang.org/x/mod v0.36.0 // indirect
Expand Down