Skip to content

Fix ObservedExclusionList doc-comment field reference#918

Open
Socialpranker wants to merge 1 commit into
fluxcd:mainfrom
Socialpranker:fix-observed-exclusion-list-description
Open

Fix ObservedExclusionList doc-comment field reference#918
Socialpranker wants to merge 1 commit into
fluxcd:mainfrom
Socialpranker:fix-observed-exclusion-list-description

Conversation

@Socialpranker

Copy link
Copy Markdown

Summary

Part of fluxcd/flux2#5941 (item 2) — the ObservedExclusionList field's doc-comment referenced spec.lastScanResult, but LastScanResult is a status field (status.lastScanResult), not part of the spec. Fixed in both api/v1 and api/v1beta2, and regenerated the CRD via make manifests.

Cosmetic/documentation only — no functional or behavioral change.

Test plan

  • go build ./... and cd api && go build ./... — clean.
  • gofmt -l on changed files — no output (already formatted).
  • go vet in the api submodule — clean.
  • make manifests regenerated config/crd/bases/image.toolkit.fluxcd.io_imagerepositories.yaml; diff confirmed to be exactly the one corrected description string, nothing else changed.

The doc-comment referenced spec.lastScanResult, but LastScanResult
lives on ImageRepositoryStatus, not the spec. Fixed in both api/v1
and api/v1beta2, and regenerated the CRD.

Assisted-by: Claude Code/claude-sonnet-5
Signed-off-by: Socialpranker <273312799+Socialpranker@users.noreply.github.com>

@matheuscscp matheuscscp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@matheuscscp matheuscscp added the backport:release/v1.2.x To be backported to release/v1.2.x label Jul 9, 2026
@matheuscscp

Copy link
Copy Markdown
Member

Same problem as fluxcd/source-controller#2109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:release/v1.2.x To be backported to release/v1.2.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants