Skip to content

JSON output typo: "ValidationIssuses" should be "ValidationIssues" #268

Description

@sprizend-rh

The kube-compare JSON output contains a typo in the Summary object. The field is named ValidationIssuses (with an extra "s") instead of the correct spelling ValidationIssues.

Location:

  • File: pkg/compare/output.go
  • Line: 77
  • Current code:
ValidationIssues       map[string]map[string]ValidationIssue `json:"ValidationIssuses"`

Expected:

ValidationIssues       map[string]map[string]ValidationIssue `json:"ValidationIssues"`

Impact:

  • Minor: The typo exists in the JSON tag only, not in the Go field name
  • The internal code uses the correct ValidationIssues field name
  • External tools consuming the JSON output must use the misspelled key

Request:
Please fix this typo if possible. We understand this may require consideration of backward compatibility with existing consumers of the JSON output.

Verification:
Checked in latest main branch (as of 2026-04-13) - typo still present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions