Skip to content
Merged
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 agent/reconciler/host_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func findPackageArtifact(dir, family string) (string, error) {
// verifyChecksum checks path's sha256 against expected, formatted
// "sha256:<hex>".
func verifyChecksum(path, expected string) error {
data, err := os.ReadFile(path)
data, err := os.ReadFile(path) // #nosec G304 -- path comes from findPackageArtifact's filepath.Glob() with validated single match
if err != nil {
return err
}
Expand Down
Loading